How do I extract the rows that have value 0 in one array from another new array?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
tinkiewinkie
el 4 de Feb. de 2020
Respondida: Adam
el 4 de Feb. de 2020
Suppose I have the following:
![Screenshot 2020-02-04 at 9.06.13 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269912/Screenshot%202020-02-04%20at%209.06.13%20PM.png)
How do I extract rows with zero value, example: row 1,9,10,11,12 from another new array?
Thank you.
0 comentarios
Respuesta aceptada
Adam
el 4 de Feb. de 2020
newArray( ~thisArray, : )
where thisArray is the one you show here.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Type Conversion 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!