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

 Réponse acceptée

Torsten
Torsten le 4 Nov 2015

0 votes

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 commentaires

Sergey Dukman
Sergey Dukman le 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 le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by