MATLAB: Stdev from gmdistribution.fit

gmdistribution stdev 'standard deviation' fit normal mean mu

I'm using function gmdistribution.fit to fit data which is a mixture of three normal distributions with different means and different stdevs. The function returns the mean of each component distribution all rigth, but I need also the estimated standard deviation of each distribution. How can I get that? It doesn't seem to be returned. Thanks

Best Answer

According to the example on this page: http://www.mathworks.com/help/stats/gmdistribution.fit.html, if
obj = gmdistribution.fit(...)
then
obj.Sigma
has the covariance matrix.