Forums

rice and nakagami distributions

Started by fmer...@libero.it May 9, 2007
Hello!
I have to generate two random sequences of fixed length (k). One with a rice distribution and the other with nakagami distribution( with characteristic parameter m).
I've found in literature that a rice distribution can be obtained as the square root of the sum of squares of 2 independent gaussian variate (one with non zero mean). So I suppose I can generate it in Matlab with ,for example:
A=randn(1,k);
B=randn(1,k)+mu;
C=A+i*B;
RICEs(C);
Am I right?
And I don't know how to generate a m-Nakagami distribution. I have a vague idea It could be generated as the square root of sum of squares of 2m independent gaussian variate (where m is the characteristic parameter).
Does anybody has any suggestion?
Thanks