hi, if i have an image how can i calculate the euclidean distance matrix for the image, it's the second step for multidimensional scaling algorithm.

 채택된 답변

Matt J
Matt J 2018년 3월 4일

0 개 추천

Use bwdist().

댓글 수: 1

thank you man, but In fact I have some doubt in multidimensional scaling algorithm, is it like these: step 1: inter the image. step 2: calculate the Euclidian distance matrix (D). step 3: calculate the matrix (B); B=-1/2(JDJ) where (J=I-1/n-11'). step 4: calculate the eigvalues & eigvectors for B. step 5: construction the (E) & (A) matrices. step 6: calculate Y; Y=E*A^1/2.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by