this is my equation using matlab , i can't get it manually.
Afficher commentaires plus anciens
dmat = reshape(sqrt(sum((xy(a,:)-xy(a',:)).^2,2)),N,N);
5 commentaires
njj1
le 19 Avr 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
le 19 Avr 2018
njj1
le 19 Avr 2018
So what is your variable 'a'? What is the size of 'xy'?
maatoug ayoub
le 19 Avr 2018
Modifié(e) : Stephen23
le 19 Avr 2018
maatoug ayoub
le 19 Avr 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Nearest Neighbors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!