Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to calculate distance euclidean

1 回表示 (過去 30 日間)
Kamil Kacer
Kamil Kacer 2020 年 11 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi guys I just cannot figure out the math behind how does these matrices produce this
c =
1 5 6
3 1 2
0 4 5
a = {[1;5;2]}
b = {[2;6;7]}
c = pdist2(a{1},b{1},'euclidean')

回答 (1 件)

the cyclist
the cyclist 2020 年 11 月 24 日
c(m,n) is the absolute value of the difference between the m-th element of the vector stored in a and the n-th element of the vector stored in b.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by