reverse indexing with conditions
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
cgo
el 9 de Nov. de 2015
Comentada: cgo
el 9 de Nov. de 2015
Let A = [1 2 4 6 10], I want to find the indices of the matrix for which the element less than 5.
So if I say: A < 5, then it will return [1 1 1 0 0]. How can I proceed to get the index of all those 1's?
Thanks
0 comentarios
Respuesta aceptada
Ver también
Categorías
Más información sobre Matrices and Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!