Clear Filters
Clear Filters

multidimensional scaling, Euclidean distance

2 views (last 30 days)
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.

Accepted Answer

Matt J
Matt J on 4 Mar 2018
Use bwdist().
  1 Comment
mohammed abdul wadood
mohammed abdul wadood on 5 Mar 2018
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!