rice and nakagami distributions
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:
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?