this is my equation using matlab , i can't get it manually.
Show older comments
dmat = reshape(sqrt(sum((xy(a,:)-xy(a',:)).^2,2)),N,N);
5 Comments
njj1
on 19 Apr 2018
Your question is really unclear... It's very hard to know what these variables are and their properties without any further details. Moreover, I'm not sure of the exact error you getting, Can you provide more details?
maatoug ayoub
on 19 Apr 2018
njj1
on 19 Apr 2018
So what is your variable 'a'? What is the size of 'xy'?
maatoug ayoub
on 19 Apr 2018
Edited: Stephen23
on 19 Apr 2018
maatoug ayoub
on 19 Apr 2018
Accepted Answer
More Answers (0)
Categories
Find more on Nearest Neighbors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!