Rayleigh random variables for σ = 1. Plot the histogram for the 20000 symbols and compare it with the corresponding Rayleigh PDF

6 views (last 30 days)
Rayleigh random variables for σ = 1. Plot the histogram for the 20000 symbols and compare it with the corresponding Rayleigh PDF
  1 Comment
Image Analyst
Image Analyst on 26 Dec 2019
Original, in case user changes it like he did his others:
Rayleigh random variables for σ = 1. Plot the histogram for the 20000 symbols and compare it with the corresponding Rayleigh PDF

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 7 Dec 2019
For what it's worth, I'm attaching my Rayleigh demo. Adapt as needed.
I did it a long time ago. There is now a function now built-in to the Statistics and Machine Learning Toolbox, random(), to give you Rayleigh samples directly so you will probably want to use that instead.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!