if you have statistics toolbox, u can use

help random.

else, maybe having a look at the numerical recipes in C

also have a look @ http://www.dsprelated.com/groups/matlab/show/95.php

regards,

krishna

http://www.dsplog.com

Hello everyone,

>

>> From what I understand, Matlab's rand and randn functions generate Gaussian
noise. Lets say I have a non-Gaussian PDF (Poisson, Middleton etc etc). Given
the PDF, how do I generate the noise??

>

>Thanks

>Regards

>Akshaya Srivatsa