plot probability density function
2 ビュー (過去 30 日間)
古いコメントを表示
Hi all, I've tried to plot probability density for a give diagram but I could not reach the same figure as in the book.
I attached a picture for the question.
Here is the data on X-axis
0-5000
5000-10000
10000-15000
15000-20000
20000-25000
25000-30000
30000-35000
35000-40000
40000-45000
45000-50000
50000-55000
55000-60000
The corresponding data on Y-axis:
8
9
8
13
8
5
1
3
2
1
1
1
採用された回答
venkat vasu
2012 年 10 月 17 日
Hi...
This code surely will help you.
a=5000:5000:60000;
b=[8 9 8 13 8 5 1 3 2 1 1 1]
bar(a,b);
or
stem(a,b);
3 件のコメント
venkat vasu
2012 年 10 月 17 日
Hi... check this for second plot
a=5000:5000:60000;
b=[8 9 8 13 8 5 1 3 2 1 1 1]
scatter(a,b); hold on
plot(a,b,'m');
その他の回答 (3 件)
Qura
2013 年 4 月 1 日
How can calculate propability density function of image without using imhist command or own code
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!