フィルターのクリア

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

1 回表示 (過去 30 日間)
yosra
yosra 2022 年 11 月 12 日
回答済み: Voss 2022 年 11 月 12 日
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 Center および File ExchangeOperators and Elementary Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by