euclidean
Version 1.0.0.0 (1.42 KB) by
Thomas Seers
Computes the 3D distance between two xyz point sets represented by two matching nx3 arrays p and c.
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)
Cite As
Thomas Seers (2026). euclidean (https://uk.mathworks.com/matlabcentral/fileexchange/42945-euclidean), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Point Cloud Processing in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
