Data Distribution
2 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (2 件)
Wayne King
2011 年 9 月 29 日
Then perhaps, you would like to try histfit() with some specified distribution.
histfit(randn(1e3,1),20,'normal')
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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!