How to obtain Nakagami random variable from CDF plot?
Mostra commenti meno recenti
zBin = [0:0.01:7];
w = 1;
m=1;
syms zBin;
pzTheory = 2*((m/w)^m)*(zBin.^(2*m-1)).*exp(-(zBin.^2)*m/w)/gamma(m);
F= int(pzTheory,zBin,0,zBin);
F1=abs(F)
ezplot(F, [0, 3]);hold on;
cdfinv=inv(F1);
%ezplot(cdfinv,[0 3]);hold on
%axis([0 3 0.5 -1 2]);
grid on
xlabel('z');
title('Cumulative Distribution function of Nakagami-m' )
I am able to get a cdf curve of Nakagami distribution,now how do i get a random variable from this plot. I need to use this random variable with BPSK. Please Help... Thanks in advance
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Nakagami Distribution in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!