MATLAB: Random distribution with specific total amount

random number generator

How can I generate the 10 random number with total summation value of 1. The random number should be anything between 0 and 1. Thanks.

Best Answer

Look in the File Exchange for Roger's randfixedsum()
Related Question