Fitting Distribution to set of data
Show older comments
Hi everyone,
I have a vector A represented by the histrogram attached in the image. I'd like to fit a normal, Gaussian, and Poisson distribution to see which one fits best. Is there a function in MATLAB that would allow me to do that? Thank you

1 Comment
Walter Roberson
on 31 Jan 2021
https://www.mathworks.com/help/curvefit/gaussian.html#bs41yzj-1
Accepted Answer
More Answers (1)
Bjorn Gustavsson
on 31 Jan 2021
0 votes
If you have the statistics toolbox you have the function fitdist, that should do the job. Just check the help and documentation to that function.
HTH
Categories
Find more on Poisson Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!