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

 Respuesta aceptada

Wayne King
Wayne King el 28 de Sept. de 2011

0 votos

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

5 comentarios

DAD
DAD el 29 de Sept. de 2011
I don't have negative values............But I don't know what is happening?.............Please help me................
Walter Roberson
Walter Roberson el 29 de Sept. de 2011
Do you have zeros? Those are not allowed either.
Does I(I <= 0) return any values?
DAD
DAD el 30 de Sept. de 2011
In Matlab 2007
histfit(I,10,'nakagami') no command like this.............What can I do?........Please help me............
DAD
DAD el 4 de Oct. de 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...........
Walter Roberson
Walter Roberson el 4 de Oct. de 2011
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

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

DAD
el 28 de Sept. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by