Generate a vector of Cartesian integer coordinates for a 1, 2, or 3D region.

버전 1.2.0.0 (2.73 KB) 작성자: DS
ENUM_COORDS generates a listing of the coordinates for a specified Cartesian space.
다운로드 수: 248
업데이트 날짜: 2012/3/23

라이선스 보기

A = ENUM_COORDS(X) returns the matrix elements of a 2D region, where X contains a 4-element vector, X=[x y width height], representing the bounding box containing the set of 2D coordinates.

A = ENUM_COORDS(X,Y) returns the matrix elements of a 3D region, where both X and Y are 4-element vectors representing two bounding boxes,
X =[x y width height] and Y =[x z width depth] which overlap to specify a 3D region.

With scalar inputs:
A = ENUM_COORDS(N,M,P) returns a matrix of size [m*n*p,3] containing the integer coordinate values for the matrix elements of the 3D region.

A = ENUM_COORDS(N,M) returns a matrix of size [m*n,2] containing integer coordinate values for all matrix elements of the 2D region.

인용 양식

DS (2024). Generate a vector of Cartesian integer coordinates for a 1, 2, or 3D region. (https://www.mathworks.com/matlabcentral/fileexchange/35440-generate-a-vector-of-cartesian-integer-coordinates-for-a-1-2-or-3d-region), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Edited info text; no code changes.

1.1.0.0

Added input checks.

1.0.0.0