Curve Fitting on Histogram
Show older comments
Hi, so I am trying to fit a polynomial curve on the histogram data, but I have problem in the implementation. I am using the function 'histfit' like so:
[j,qout] = hist(data,700);
h = histfit(data, 700, 'beta');
but it's coming with an error, stating:
All values must be within the closed interval [0,1].
I don't see such an implementation on the documentation of the function. Help would be much appreciated.
Accepted Answer
More Answers (0)
Categories
Find more on Histograms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!