Fitting gussian curve in my plot

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!