generate normally distributed variables that sum to a constant value
2 views (last 30 days)
Show older comments
I am trying to generate random layer thicknesses that sum to a constant total. For example, The total deposit thickness is 10 meters. Layer 1 is on average 29% of the total with a standard deviation of 16%. Layer 2 Avg 51% stdev 18%. Layer 3 Avg 20% stdev 20%. Thanks for the help.
0 Comments
Answers (1)
Walter Roberson
on 3 Mar 2016
You might be be able to adapt http://www.mathworks.com/matlabcentral/fileexchange/9700-random-vectors-with-fixed-sum
0 Comments
See Also
Categories
Find more on Electromechanical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!