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!