2D Histogram

バージョン 1.0.0.0 (764 Bytes) 作成者: Murphy O'Brien
Calculates and draws the 3D histogram of 2 Dimensional input data
ダウンロード: 8.8K
更新 2007/3/9

ライセンスがありません

function H = hist2d(D,Xn,Yn,[Xlo Xhi],[Ylo Yhi])

Calculates and draws the 3D histogram of 2 Dimensional input data D.

Counts number of points in the bins defined by
X = linspace(Xlo,Xhi,Xn) and
Y = linspace(Ylo,Yhi,Yn)

D must be a 2 column or 2 row matrix or an array of complex numbers

[Xlo Xhi],[Ylo Yhi] are optional and default to the min and max of
the input data
Xn and Yn are optional and default to 20

Example:
hist2d([randn(1,10000); randn(1,10000)])

Really just a copy of 2D Histogram, by Rey Patlolla, but with default arguments, optionally complex input and draws a 3D histogram.

引用

Murphy O'Brien (2024). 2D Histogram (https://www.mathworks.com/matlabcentral/fileexchange/14205-2d-histogram), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2006a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersHistograms についてさらに検索
謝辞

ヒントを得たファイル: 2-Dimensional Histogram

ヒントを与えたファイル: Fast 2D histogram calculation, createContour

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0