I generated the random numbers from 0 to 1 as follows:
Population = rand(20,3)
now I wants that the sum of each individual row should not be greater than zero
s = sum(Population,2)
how should I restrict each row, generated with rand(), so that the its sum should be b/w 0 and 1??...
The values in each row should come as if I add them up they should not exceed one
plZ answer it.....
No products are associated with this question.