MATLAB stats textbooks have a section called “Installing a More Complex Distribution: A Mix of Two Normals”
http://www.mathworks.com/help/stats/examples/fitting-custom-univariate-distributions.html
pdf_normmixture = @(x,p,mu1,mu2,sigma1,sigma2) ...
p*normpdf(x,mu1,sigma1) + (1-p)*normpdf(x,mu2,sigma2);
lb = [0 -Inf -Inf 0 0];
ub = [1 Inf Inf Inf Inf];
start = [pStart muStart sigmaStart sigmaStart];
paramEsts = mle(x, 'pdf',pdf_normmixture, 'start',start, 'lower',lb, 'upper',ub)
I would like to apply the same methodology to fit two or more normals to a one-dimensional set of values that I have, but in the periodic domain . That is, angles that have values from 0 ° to 360 °, connected together as a circular range. I'm not sure how to declare it so MATLAB understands this terminology.
Is it possible to change this implementation to add a round range?
Regards, Ignacio
source
share