PDF and CDF of rician distribution simulation source
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everyone, I'm entirely new to matlab and I have an assignment that must be submitted within 2 days time. I found the simulated image but not the code https://en.wikipedia.org/wiki/File:Rice_distributiona_PDF.png for pdf and https://en.wikipedia.org/wiki/File:Rice_distributiona_CDF.png for cdf. I need your help with the source code guys
4 Kommentare
anuradha verma
am 29 Nov. 2022
What is 's' over here. please explain me this in term of shape and scale parameter. Your answer is highly appreciable.
Jeff Miller
am 29 Nov. 2022
s is shape, sigma is scale: https://au.mathworks.com/help/stats/rician-distribution.html
Antworten (2)
Jeff Miller
am 29 Mai 2021
OK, here's a more complete answer:
pd = makedist('Rician','s',0,'sigma',2); % Change to your required parameters
N = 1000; % size of random sample
x = pd.random(N);
histogram(x,'Normalization','pdf');
xpts = min(x):0.001:max(x);
xpdf = pd.pdf(xpts);
hold on;
plot(xpts,xpdf,'r- ','Linewidth',5);
Siehe auch
Kategorien
Mehr zu Wireless Communications finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!