Clear Filters
Clear Filters

Rayleigh probability density function

2 views (last 30 days)
Hello! In Mathworks example of Rayleigh probability density function, they define scale parameter B as B=0.5. I would like to know why?
Regards, Sergey

Accepted Answer

Torsten
Torsten on 4 Nov 2015
They do not define B=0.5, they just choose B=0.5 as an example.
You can choose B whatever you like when calling raylpdf.
Best wishes
Torsten.
  2 Comments
Sergey Dukman
Sergey Dukman on 4 Nov 2015
Thank you, sir. It seems strange for me to define B whatever I like to. I think that there is some rules for choosing the value of B. Do you have any suggestions?
Regards, Sergey
Torsten
Torsten on 4 Nov 2015
Every value of B gives you a probability density function.
You can adjust B to meet your given data as close as possible.
Best wishes
Torsten.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!