Nakagami Distribution

I used the input as image............While using Nakagami distibution ,I used to got the error as
Error using ==> histfit at 69 All X values must be in the interval (0,Inf).
Error in ==> Nakaemi at 11 histfit(I,10,'nakagami')
Please help me..........................

 Accepted Answer

Wayne King
Wayne King on 28 Sep 2011

0 votes

Hi, This distribution has support only on x>0, do you have negative values for your random variables?

5 Comments

DAD
DAD on 29 Sep 2011
I don't have negative values............But I don't know what is happening?.............Please help me................
Do you have zeros? Those are not allowed either.
Does I(I <= 0) return any values?
DAD
DAD on 30 Sep 2011
In Matlab 2007
histfit(I,10,'nakagami') no command like this.............What can I do?........Please help me............
DAD
DAD on 4 Oct 2011
I got the warning message like this while used in MATLAB 2007.........
??? Warning: File: histfit1.m Line: 62 Column: 7
This try-catch syntax will continue to work in R2007a,
but may be illegal or may mean something different in future releases of MATLAB.
See Release Notes for MATLAB Version 7.4, "Warning Generated by try-catch" for details.
Please help me...........
The try/catch issue is best discussed in the Question you established for that purposes, which I have already responded to. If you need further information or have further concerns, please post them there,
http://www.mathworks.com/matlabcentral/answers/17397-try-catch-warning

Sign in to comment.

More Answers (0)

Asked:

DAD
on 28 Sep 2011

Community Treasure Hunt

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

Start Hunting!