title: how to sample normal distribution in matlab
body: <p>I'm working on a pattern recognition project and in there I want to sample a 2 dimensional normal distribution with given parameters (mean and covariance matrix). For example if I want to have 100 samples from normal distribution, I use <code>mvnrnd(mu,sigma,100)</code> where mu and sigma are assumed to be available. But <code>mvnrnd</code> returns 100 unique samples but I want to have samples even with duplicated values. (I mean how to get 100 samples but not necessarily with unique values) What should I do?</p>