MATLAB: Histogram fitting best distribution

curve fittingdistributionhistogram

I plot my histogram and I want to plot the distribution that represent it.
when I used the function "histfit" I received the red curve, where I want to create the blue curve which represents the histogram in good way for my data.
so how can I plot the blue curve?plot1.jpg

Best Answer

If you haven't tried it already, maybe tell distfit to use the 'kernel' option.
Related Question