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 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by