Fitting gussian curve in my plot

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.

 Respuesta aceptada

Star Strider
Star Strider el 1 de Ag. de 2015

0 votos

You can use histfit to fit the distribution, but it will not give you the parameters.
Use the normfit function to get the parameters.

Más respuestas (0)

Categorías

Más información sobre Curve Fitting Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 1 de Ag. de 2015

Respondida:

el 1 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by