I just need to plot a gaussion distribution plot given mean (mu) and standard deviation (sigma). I used:
gauss1 = normpdf(x, mu, sigma)
But it's output its not normalized. I would like it to be normalized as probability density function. I need to plot it next to histogram normalized it by:
histogram(dataSerie, 'Normalization', 'probability')
After using normpdf it looked like:
it is clear that integral from 0 to 1 is not equal 1, so it is not probability density function.
0 Comments
Sign in to comment.