how to plot a histogram?please help!!! thank you

[1 2 7 3 16 10 9 3 6 8 54 50 15 5 6 1 5 6 3 4 1 4 3 6 1 1 1]
[ 140 141 144 145 147 148 149 150 151 152 154 155 156 157 158 160 161 162 163 164 166 167 186 187 204 211 246] i need to plot a histogram where there are 7 bins and bin width of 16.The 1st row shows the count and 2nd row the values .i need to plot the count in y-axis and values in x-axis

回答 (1 件)

Roman
Roman 2013 年 4 月 25 日

1 投票

Have you checked the hist function?

2 件のコメント

Sony
Sony 2013 年 4 月 25 日
i tried out with hist but dint get ,other than hist function(i need matlab code)
José-Luis
José-Luis 2013 年 4 月 25 日
edit hist

この質問は閉じられています。

タグ

質問済み:

2013 年 4 月 25 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by