euclidean

版本 1.0.0.0 (1.4 KB) 作者: Thomas Seers
Computes the 3D distance between two xyz point sets represented by two matching nx3 arrays p and c.
253.0 次下载
更新时间 2013/8/5

查看许可证

INPUT: two matching nx3 arrays p and c representing xyz coordinates of 3D points:

E.g. p = [1 1 1; 1 1 1; 1 1 1]
c = [2 2 2; 2 2 2; 2 2 2]

OUTPUT: Single column vector euclid3D with each row being the 3D distance between each position vector in p and c

E.g. euclid3D=[1.7321; 1.7321; 1.7321]

USAGE: [euclid3D] = euclidean(p, c)

引用格式

Thomas Seers (2024). euclidean (https://www.mathworks.com/matlabcentral/fileexchange/42945-euclidean), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
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.0.0.0