Plotting probability density function from given random variables

2 次查看(过去 30 天)
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..

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by