Mostrar comentarios más antiguos
lets A =[ 1 1 0 after dng some steps i got z=[ 0.2345 1 0 1 1.456 0 0 1 0.0673 . . . ..... . . . ...... . . . ..... 1 1 0] 6.987]
both A and Z have 90 rows in each .now for least value of Z i need to take co-responding value as my out put so can u help me. from above my out is 0 0 1. can any one help me out please
3 comentarios
mahaveer hanuman
el 23 de Jun. de 2011
Sean de Wolski
el 23 de Jun. de 2011
The answer is in your identical post here:
http://www.mathworks.com/matlabcentral/answers/10135-euclidean-distance-output
Combine that with my hint below.
mahaveer hanuman
el 23 de Jun. de 2011
Respuestas (1)
Sean de Wolski
el 23 de Jun. de 2011
0 votos
I just answered this in your duplicate post. Change the max function to min everything else is identical.
Categorías
Más información sobre Startup and Shutdown 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!