I have a vector called K [622×1] double I plot the PDF of K . I fitted my K vector to the Gaussian mixture distribution and ploted the PDF with a solid line :
>> GMModel = fitgmdist(k,2);>> gm=gmdistribution(GMModel.mu,GMModel.Sigma);>> pdfk=pdf(gm,k);>> figure>> plot(k,pdfk)
The plot has several lines and I dont know what is the problem and how to resolve it. Ca anyone help me with this? thank youuu
Best Answer