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 (최근 30일)
akhil
akhil 2013년 9월 26일
답변: Matt J 2013년 9월 26일
how to Calculate the Euclidean distance between the two solutions, and plot this as a function of time.
  댓글 수: 2
Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 26일
between the two solutions: which solutions?
Image Analyst
Image Analyst 2013년 9월 26일
Shouldn't you be subtracting the x's, y's, and z's to get delta x, delta y, and delta z?

댓글을 달려면 로그인하십시오.

답변 (1개)

Matt J
Matt J 2013년 9월 26일
norm(solution1-solution2)

카테고리

Help CenterFile Exchange에서 Numeric Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by