D(t) = sqrt( (x1(t) + x2(t))^2 + (y1(t)+y2(t))^2 + (z1(t) + z2(t))^2) : how to Calculate the Euclidean distance between the two solutions, and plot this as a function of time.

1 visualización (últimos 30 días)
akhil
akhil el 26 de Sept. de 2013
Respondida: Matt J el 26 de Sept. de 2013
how to Calculate the Euclidean distance between the two solutions, and plot this as a function of time.
  2 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 26 de Sept. de 2013
between the two solutions: which solutions?
Image Analyst
Image Analyst el 26 de Sept. de 2013
Shouldn't you be subtracting the x's, y's, and z's to get delta x, delta y, and delta z?

Iniciar sesión para comentar.

Respuestas (1)

Matt J
Matt J el 26 de Sept. de 2013
norm(solution1-solution2)

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by