Gaussian Distribution fit to Known Data?

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일

0 개 추천

If you have the Statistics Toolbox, you can use normfit().
adam
adam 2014년 2월 11일

0 개 추천

Where do I get the Statistics Toolbox? I'm using a student edition of MATLAB. Do I have to download it from somewhere?

댓글 수: 1

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.

댓글을 달려면 로그인하십시오.

질문:

2014년 2월 11일

댓글:

2014년 2월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by