Info

This question is closed. Reopen it to edit or answer.

Which mean and standart deviantion should I use?

1 view (last 30 days)
Joao
Joao on 17 Jan 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
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)

Star Strider
Star Strider on 17 Jan 2016
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.

Community Treasure Hunt

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

Start Hunting!