Finding indices of certain values
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Anurag Gupta
el 1 de Nov. de 2020
Comentada: Anurag Gupta
el 1 de Nov. de 2020
I have a matrix A=[ 1 2; 4 5; 0 0; 7 8;0 0]
i want to find the row number wherein both the coloumns are 0 0
i tried [ r,~] =find(A==[0 0])
but it returns me 3 5 3 5 whereas the output for me should be just 3 5
it would be great if you can spare some time and help me out with this.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Pulsed Waveforms 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!