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 Ansicht (letzte 30 Tage)
akhil
akhil am 26 Sep. 2013
Beantwortet: Matt J am 26 Sep. 2013
how to Calculate the Euclidean distance between the two solutions, and plot this as a function of time.
  2 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 26 Sep. 2013
between the two solutions: which solutions?
Image Analyst
Image Analyst am 26 Sep. 2013
Shouldn't you be subtracting the x's, y's, and z's to get delta x, delta y, and delta z?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Matt J
Matt J am 26 Sep. 2013
norm(solution1-solution2)

Kategorien

Mehr zu Numeric Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by