euclideanV

버전 1.1.0.0 (1.47 KB) 작성자: Thomas Seers
Computes the 3D distance between two 3D point sets
다운로드 수: 252
업데이트 날짜: 2013/8/6

라이선스 보기

INPUT: two sets of matching column vectors, x1, y1, z1 & x2, y2, z2 representing xyz coordinates of two 3D point sets. E.g:

x1=[1;1;1],y1=[1;1;1],
z1=[1;1;1]
x2=[2;2;2],y2=[2;2;2],
z2=[2;2;2]

OUTPUT: Single column vector, euclidV3D, with each row being the 3D distance between each position vector in the two point sets. E.g.

euclid3D=[1.7321; 1.7321; 1.7321]

USAGE: [euclidV3D] = euclideanV(x1, y1, z1, x2, y2, z2)

Function avoids for loops and is thus faster than the previously submitted function, euclidean (though less useful for higher dimension arrays).

인용 양식

Thomas Seers (2024). euclideanV (https://www.mathworks.com/matlabcentral/fileexchange/42947-euclideanv), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

06/08/2013: Updated file based on Jan's suggestions

1.0.0.0