Search code examples
matlabhistogramcurve

Fit A Curve to a Histogram


Hisgram distribution

Is there any possibility to fit a curve to that histogram above in Matlab?

The histogram is not normalized or anything like that. I know that there is a function called histfit,but can i use it here?


Solution

  • Try this FileExchange submission:

    ALLFITDIST - Fit all valid parametric probability distributions to data.

    --- UPDATE ---

    ALLFITDIST is no longer available on the MATLAB File Exchange.

    You can try this instead:

    FITMETHIS - finds best-fitting distribution to data vector, including non-parametric.