MATLAB: Samples of Random Variable random variable Hi, How can I select 10 samples (Xi) of a Uniform random variable between (0,1) such that the sum of the 10 samples (Xi) = 1? Best Answer http://www.mathworks.com/matlabcentral/fileexchange/9700Note: there are a lot of wrong ways to do this task. The above contribution is a right way. Related SolutionsMATLAB: Generate Random Sample between [0,1) With N an integer between 1 and 53 (inclusive)randi([0 2^N-1])/(2^N)provided that randi is truly uniform random. MATLAB: Sampling doc linspacedoc randn Related QuestionHow to generate multiple random samples of size 200How to randomly select a number between 10 and 60 to a variableErlang Random variableSampling dataSampling
Best Answer