Approximate probability mass function into normal distribution

1.9k Views Asked by At

I have an array of values (mass function) Px and I want to approximate a normal distribution function (in Matlab) from them.

I can plot the mass function using bar(Px) and I would like to plot normal distribution graph given these data, too.

How do I do it (mathematical formual will be enough for me)?

1

There are 1 best solutions below

0
On BEST ANSWER

The histfit function in the Statistics toolbox seems to do precisely this: http://www.mathworks.in/help/stats/histfit.html