Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to calculate distance euclidean
조회 수: 2 (최근 30일)
이전 댓글 표시
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')
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!