Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
how to calculate distance euclidean
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi guys I just cannot figure out the math behind how does these matrices produce this
c =
1 5 6
3 1 2
0 4 5
a = {[1;5;2]}
b = {[2;6;7]}
c = pdist2(a{1},b{1},'euclidean')
0 comentarios
Respuestas (1)
the cyclist
el 24 de Nov. de 2020
c(m,n) is the absolute value of the difference between the m-th element of the vector stored in a and the n-th element of the vector stored in b.
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!