Frequency Histogram of the output data

1 vue (au cours des 30 derniers jours)
yu sh
yu sh le 14 Avr 2016
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.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by