euclidean

Computes the 3D distance between two xyz point sets represented by two matching nx3 arrays p and c.
254 Downloads
Aktualisiert 5. Aug 2013

Lizenz anzeigen

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)

Zitieren als

Thomas Seers (2025). euclidean (https://www.mathworks.com/matlabcentral/fileexchange/42945-euclidean), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Point Cloud Processing finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0