Plotting probability density function from given random variables

2 views (last 30 days)
I have a vector of data, which was drawn from a normal distribution. I need to perform parametric (or) non-parametric estimation and plot the given data on x axis and probabilities on y axis, as shown in the attached image.
I tried ksdensity, but i got the following..
Please help. Thanks in advance!
ps: Data vector I used is attached for your reference..

Answers (0)

Community Treasure Hunt

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

Start Hunting!