generate normally distributed variables that sum to a constant value
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 3 Mar 2016
You might be be able to adapt http://www.mathworks.com/matlabcentral/fileexchange/9700-random-vectors-with-fixed-sum
0 commentaires
Voir également
Catégories
En savoir plus sur Electromechanical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!