pdf distribution using bins

6 views (last 30 days)
Yusuf
Yusuf on 9 Sep 2015
Answered: Star Strider on 9 Sep 2015
I have values for a variable for a significant number of time points. How would I go about calculating the pdf using 100 bins and plotting it against itself?
Getting stuck at combining hist function with the pdf but there's probably a much simpler method!
Thanks in advance guys

Accepted Answer

Star Strider
Star Strider on 9 Sep 2015
If you have the Statistics Toolbox, use the histfit function.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!