Gaussian Distribution fit to Known Data?

10 vues (au cours des 30 derniers jours)
adam
adam le 11 Fév 2014
Commenté : the cyclist le 11 Fév 2014
Hey all. I'm trying to make a Gaussian curve fit to a histogram made with data I already have. It is not normalized and I do not know anything about the curve other than what data it needs to fit. What function in MATLAB can I use to calculate sigma and mu? Thanks for your help.

Réponses (2)

the cyclist
the cyclist le 11 Fév 2014
If you have the Statistics Toolbox, you can use normfit().

adam
adam le 11 Fév 2014
Where do I get the Statistics Toolbox? I'm using a student edition of MATLAB. Do I have to download it from somewhere?
  1 commentaire
the cyclist
the cyclist le 11 Fév 2014
According to this page, the student version comes with the Statistics Toolbox. If you type
ver
at the command line, you should see it listed.
Type
doc normfit
to see the syntax for the normfit() command.

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by