this is my equation using matlab , i can't get it manually.
Mostrar comentarios más antiguos
dmat = reshape(sqrt(sum((xy(a,:)-xy(a',:)).^2,2)),N,N);
5 comentarios
njj1
el 19 de Abr. de 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
el 19 de Abr. de 2018
njj1
el 19 de Abr. de 2018
So what is your variable 'a'? What is the size of 'xy'?
maatoug ayoub
el 19 de Abr. de 2018
Editada: Stephen23
el 19 de Abr. de 2018
maatoug ayoub
el 19 de Abr. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Nearest Neighbors en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!