euclidean

Computes the 3D distance between two xyz point sets represented by two matching nx3 arrays p and c.

Ahora está siguiendo esta publicación

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)

Citar como

Thomas Seers (2026). euclidean (https://la.mathworks.com/matlabcentral/fileexchange/42945-euclidean), MATLAB Central File Exchange. Recuperado .

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0