2-Dimensional Histogram

Accumulate and plot a 2d histogram matrix.

現在この提出コンテンツをフォロー中です。

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

引用

Rey Patlolla (2026). 2-Dimensional Histogram (https://jp.mathworks.com/matlabcentral/fileexchange/8422-2-dimensional-histogram), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: 2D Histogram Matrix

ヒントを与えたファイル: 2D Histogram

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0