2-Dimensional Histogram

Accumulate and plot a 2d histogram matrix.

Sie verfolgen jetzt diese Einreichung

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

Zitieren als

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

Quellenangaben

Inspiriert von: 2D Histogram Matrix

Inspiriert: 2D Histogram

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0