From: Sonali on
Hello,
please help me with the following problem - given K factor, how to generate a random variable having Rice Distribution in MATLAB?
Thanks
Sonali
From: Torsten Hennig on
> Hello,
> please help me with the following problem - given K
> K factor, how to generate a random variable having
> Rice Distribution in MATLAB?
> Thanks
> Sonali

http://www.mathworks.com/matlabcentral/fileexchange/14237

Best wishes
Torsten.
From: Peter Perkins on
On 6/18/2010 2:43 AM, Sonali wrote:
> Hello,
> please help me with the following problem - given K factor, how to
> generate a random variable having Rice Distribution in MATLAB?

If you have access to the Statistics Toolbox,

>> random('Rician',1,1,10,1)
ans =
2.2962
2.6272
1.9904
2.029
1.3222
2.2674
2.3479
0.90178
3.8949
1.7222

but you're going to need to specify more than just K. The Rician has a
noncentrality parameter, and a scale parameter:

<http://www.mathworks.com/access/helpdesk/help/toolbox/stats/brn2ivz-137.html>

Hope this helps.