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.

 Akzeptierte Antwort

Matt J
Matt J am 4 Mär. 2018

0 Stimmen

Use bwdist().

1 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by