Histogram Fitting in Matlab
Afficher commentaires plus anciens
Hello,
How to do histogram fitting?
Réponse acceptée
Plus de réponses (1)
J. Alex Lee
le 10 Oct 2019
0 votes
If you have access to the underlying data...
...and you have a model for the distribution, then you can just do parameter estimation based on the data. A common distribution should have well-established parameter estimation techniques. (your example looks normal, so mean() and std() would work well).
...and you have a model for the distribution but not a way to estimate parameters for it, you can try to force your histogram-generating function to use equal bin sizes, then proceed to do your curve fitting.
If you don't have access to the underlying data...
...maybe you can weight your residuals inversely to the bin widths?
Catégories
En savoir plus sur Histograms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!