2-Dimensional Histogram

Version 1.0.0.0 (535 octets) par Rey Patlolla
Accumulate and plot a 2d histogram matrix.
5,4K téléchargements
Mise à jour 6 sept. 2005

Aucune licence

function H = histo2D(D,[Xlo Xhi],Xn,[Ylo Yhi],Yn,Xlab,Ylab,Title)

2-Dimensional Histogram
(size(H) == [Yn Xn])
Counts number of points in the bins defined by -
X = linspace(Xlo,Xhi,Xn) and
Y = linspace(Ylo,Yhi,Yn)

Example:
Dx = 5*rand(100,1) ;
Dy = 10*rand(50,1) ;
D = [Dx,Dy] ;
H = histo2D(D,[0 5],10,[0 10],5, 'Xlabel','Ylabel','2d Histogram') ;

Citation pour cette source

Rey Patlolla (2026). 2-Dimensional Histogram (https://fr.mathworks.com/matlabcentral/fileexchange/8422-2-dimensional-histogram), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R14SP2
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Histograms dans Help Center et MATLAB Answers
Remerciements

Inspiré par : 2D Histogram Matrix

A inspiré : 2D Histogram

Version Publié le Notes de version
1.0.0.0