Gaussian Distribution fit to Known Data?

10 ビュー (過去 30 日間)
adam
adam 2014 年 2 月 11 日
コメント済み: the cyclist 2014 年 2 月 11 日
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