Azzera filtri
Azzera filtri

what mean ,hist word in matlab ?

2 visualizzazioni (ultimi 30 giorni)
mina
mina il 2 Mar 2013
what mean ,hist word in matlab ?

Risposta accettata

Wayne King
Wayne King il 2 Mar 2013
Modificato: Wayne King il 2 Mar 2013
It a frequency histogram
X = randn(1000,1);
hist(X)
It "bins" the input data and returns the number of data values that value in each bin.
You can get the actual counts and bin center with the optional output arguments:
[counts,centers] = hist(X);

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by