N-Dimensional and Circular Histogram Counts

버전 1.1.0.0 (4.51 KB) 작성자: Paul
Compute n-dimensional histogram counts, also supports circular dimensions.
다운로드 수: 174
업데이트 날짜: 2015/4/5

라이선스 보기

Given a set of n-dimensional vectors and an n-dimensional histogram, compute the number of vectors that fall into each bin. The histogram is given as rectilinear grid (i.e. the bins can vary in size along each dimension). Dimensions can also be marked as circular to create polar or cylindrical grids or their generalizations. The input vector format must match the grid, for example, if a polar grid is used, the input vectors must be given in polar coordinates. Coordinates are not converted in the function.
Example:

load clown;
[y,x] = find(X>max(X(:))*0.5);
[a,r] = cart2pol(x-size(X,2)/2,y-size(X,1)/2);
abinedges = linspace(0,2*pi,65);
abinedges(end) = [];
rbinedges = log10(logspace(0,1,65)).*(size(X,2)/2);
c = histcountsn([a,r],{abinedges,rbinedges},[true,false]);

인용 양식

Paul (2026). N-Dimensional and Circular Histogram Counts (https://kr.mathworks.com/matlabcentral/fileexchange/50401-n-dimensional-and-circular-histogram-counts), MATLAB Central File Exchange. 검색 날짜: .

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

도움 받은 파일: 2D Histogram Calculation

버전 게시됨 릴리스 정보
1.1.0.0

fixed title

1.0.0.0