Introduction - If you have any usage issues, please Google them yourself
fit_mix_gaussian - fit parameters for a mixed-gaussian distribution using EM algorithm
format: [u,sig,t,iter] = fit_mix_gaussian( X,M )
input: X - input samples, Nx1 vector
M - number of gaussians which are assumed to compose the distribution
output: u - fitted mean for each gaussian
sig - fitted standard deviation for each gaussian
t - probability of each gaussian in the complete distribution
iter- number of iterations done by the function