How do you generate numbers from a bimodal Gaussian PDF in MATLAB?
For a unimodal symmetric Gaussian PDF it is really easy:
But now I want to draw 1000 numbers from a Gaussian PDF that has two peaks (or two means). How do I do this?
© 2016 Powered by mzan.com design MATCHINFO