sampling from a mixture of 2 multivariate Gaussian distributions
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Tom Lane
2012 年 10 月 27 日
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!