Rician Distribution will not fit to positive data?

6 Ansichten (letzte 30 Tage)
Jay
Jay am 7 Okt. 2014
Bearbeitet: the cyclist am 21 Feb. 2020
I am trying to fit a Rician distribution to my data, z, that ranges between 2X10^-9 and 5X10^-8 via
pd = fitdist(z,'Rician');
however, the error
Error using prob.RicianDistribution>checkargs (line 197)
The parameter S must be a nonnegative finite numeric scalar.
always pops up. I get the exact same error via
phat = mle(z,'distribution','rician')
and the dfittool won't respond when I ask it to fit a Rician distribution to my data. I'm at a loss after trolling google for answers. Any suggestions?
  8 Kommentare
yusra Ch
yusra Ch am 21 Feb. 2020
I have the same error. Every time the value of "s" parameter is very near to zero the error shows up. Can you tell me how to bypass this error?
the cyclist
the cyclist am 21 Feb. 2020
Bearbeitet: the cyclist am 21 Feb. 2020
I have the same comment as in the original question. Can you post an example of an input that gives an error? Does the following code give an error?
z = [0.0005; 0.0003; 0.0008; 0.0016; 0.0002];
pd = fitdist(z,'Rician');

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by