sampling from a mixture of 2 multivariate Gaussian distributions
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear all,
Is there any matlab function that I can use in order to generate from a mixture of 2 multivariate Gaussian distributions?
I found that "mvgmmrnd" might do the job. But where is the official m.file for that function?
thanks
0 commentaires
Réponses (1)
Tom Lane
le 27 Oct 2012
If you have the Statistics Toolbox, type "help gmdistribution". You can use it to construct a mixture of two Gaussians, then use its random method to sample from it.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!