Help on gmdistributionfit toolbox
4 views (last 30 days)
Jonathan LeSage on 11 Nov 2013
When you plot the gmdistribution fit results, did you remember to pass in both the x and y arguments to the plot function?
X = 0.0001:0.03:3;
y = pdf(obj,X');
% Plot both x,y
If you don't specify an x-vector, the plot function will just plot the y-values against their location in the y-vector (the indices).
Hope this helps!