Rayleigh probability density function

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

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
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)

Categories

Asked:

on 3 Nov 2015

Commented:

on 4 Nov 2015

Community Treasure Hunt

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

Start Hunting!