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 (2025). 2D Histogram (https://www.mathworks.com/matlabcentral/fileexchange/14205-2d-histogram), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Histograms에 대해 자세히 알아보기
도움

도움 받은 파일: 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