locate within the first column of a matrix a sequence of numbers and extract those rows
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Alberto Acri
el 30 de Ag. de 2024
hi! I have the matrix 'M'. How can I locate inside the first column of the matrix 'M' the sequence of numbers (1 to #) and extract those rows?
For example, this matrix 'M' breaks down into:
- rows 1:9
- rows 10:12
- rows 13:18
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1763059/image.png)
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing 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!