필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to calculate distance euclidean

조회 수: 2 (최근 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