Problem when fitting rayleigh
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
when I fitting histgram using mle
h = histcounts(Patch(j,i).Data,'normalization','pdf');
h_size = size(h);
mle_data = mle(h,'distribution','Rayleigh');
Rayleigh = raylpdf(1:1:h_size(2),mle_data(1));
The beta coefficient and fitting curve is wrong
h output :
0.0115694444444444 0.00785555555555556 0.00428888888888889 0.00287222222222222
0.00192777777777778 0.00106666666666667 0.000625000000000000 0.000444444444444444
0.000175000000000000 0.000138888888888889 9.72222222222222e-05 0.000119444444444444
9.44444444444445e-05 9.16666666666667e-05 8.88888888888889e-05 7.77777777777778e-05
4.16666666666667e-05 8.05555555555556e-05 5.00000000000000e-05 6.11111111111111e-05
6.11111111111111e-05 5.83333333333333e-05 4.16666666666667e-05 4.72222222222222e-05
5.55555555555556e-05 4.44444444444444e-05 5.00000000000000e-05 5.00000000000000e-05
4.72222222222222e-05 3.33333333333333e-05 5.55555555555556e-05 4.72222222222222e-05
4.72222222222222e-05 3.61111111111111e-05 6.66666666666667e-05 4.16666666666667e-05
6.11111111111111e-05 7.22222222222222e-05 5.27777777777778e-05 5.00000000000000e-05
8.61111111111111e-05 8.61111111111111e-05 0.000122222222222222 0.000125000000000000
0.000111111111111111 1.66666666666667e-05
Beta coefficient
0.0016
Rayleigh Ouput
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0
What's wrong in my code ?
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!