Gaussian Distribution fit to Known Data?

9 次查看(过去 30 天)
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.

回答(2 个)

the cyclist
the cyclist 2014-2-11
If you have the Statistics Toolbox, you can use normfit().

adam
adam 2014-2-11
Where do I get the Statistics Toolbox? I'm using a student edition of MATLAB. Do I have to download it from somewhere?
  1 个评论
the cyclist
the cyclist 2014-2-11
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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by