Frequency Histogram of the output data

1 回表示 (過去 30 日間)
yu sh
yu sh 2016 年 4 月 14 日
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 Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by