Hello, I have some data and i want to see it in plot that how it is distributed all over, like getting some plot , but the plot command donot give me smooth curve or response i want to see it in curve.Or u can say like gaussian distribution of my historgram like this one
Thanks in advance
No products are associated with this question.
Perhaps you want to use hist() to draw a histogram of the data?
Then perhaps, you would like to try histfit() with some specified distribution.
or use ksdensity()
x = [randn(30,1); 5+randn(30,1)]; [f,xi] = ksdensity(x); plot(xi,f);
The Wavelet Toolbox also has 1-D density estimation capability.
Play games and win prizes!Learn more