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 天)
how to Calculate the Euclidean distance between the two solutions, and plot this as a function of time.

回答(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