How to use histfit for my histogram data
Mostrar comentarios más antiguos
Dear MATLAB users,
I have a histogram data derived from the following codes:
[counts, bwhist] = imhist(septumMask, mymap);
figure; stem(bwhist, counts2)
I would like to curve fit the histogram using histfit function.
figure; histfit(counts, length(bwhist))
and I also had tried this code:
figure; histfit(counts, [])
As you can observe from my two attempts result, the histogram x axis, y axis are wrong.
I would like to achieve the curve fitting based on my original histogram image.
Could you highlight which steps I have missed when I am using "histfit" function? Or which built-in functions do you suggest?
Thank you.
2 comentarios
per isakson
el 27 de Jul. de 2013
Editada: per isakson
el 27 de Jul. de 2013
Clicking the links returns The page you were looking for doesn't exist. However, copy&paste works. Have you used "<<url>>"? Should be "<url>" without citation marks.
Eric
el 27 de Jul. de 2013
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Histograms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!