2-Dimensional Histogram

Versión 1.0.0.0 (535 Bytes) por Rey Patlolla
Accumulate and plot a 2d histogram matrix.
5,4K descargas
Actualizado 6 sep 2005

Sin licencia

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') ;

Citar como

Rey Patlolla (2024). 2-Dimensional Histogram (https://www.mathworks.com/matlabcentral/fileexchange/8422-2-dimensional-histogram), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14SP2
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Histograms en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: 2D Histogram Matrix

Inspiración para: 2D Histogram

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0