Which mean and standart deviantion should I use?

Hi!
I have this plot that was obtained by connecting the occurrence values of a histogram. My teacher asked me to get the probability density function of this plot.
However, I'm having trouble using the normpdf(X,mu,sigma) function. Can anyone tell which values, mu and sigma should I input so that I can have a bell like density function plot?
Thank you for your time

Answers (1)

I would be tempted to use the normfit function on the original data instead. If you want the histogram as well, use the histfit function with your original data.

This question is closed.

Asked:

on 17 Jan 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!