Fitting gussian curve in my plot

조회 수: 10 (최근 30일)
Mayank Lakhani
Mayank Lakhani 2015년 8월 1일
답변: Star Strider 2015년 8월 1일
Hi Volks,
By using hist command in Matlab, I am getting following plot.
figure,plot(f2,real(resd));
figure,hist(abs(resd(1:1496,500)));
How to fit Gaussian Curve and find out mean & variance.

채택된 답변

Star Strider
Star Strider 2015년 8월 1일
You can use histfit to fit the distribution, but it will not give you the parameters.
Use the normfit function to get the parameters.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by