Frequency Histogram of the output data
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone, I have the following result and want to plot the histogram between 'A vs frequency', please guide
A = [ 3 1 3 1 2]
I want my code to compute the frequency of the data in A like 3 (2 times), 1 (2 times) and 2 (once) and plot the histogram accordingly. Thanks in advance.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!