how to find the Euclidean distance between the first and last columns in matrix?

1 次查看(过去 30 天)
how to find the Euclidean distance between the first and last columns in matrix

回答(1 个)

Voss
Voss 2022-11-12
norm(A(:,1)-A(:,end))

类别

Help CenterFile Exchange 中查找有关 Operators and Elementary Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by