How to delete rows from an array?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Guido Pastore
el 1 de Mzo. de 2019
Comentada: Guido Pastore
el 1 de Mzo. de 2019
Given an array of double of size 929x1, I want to obtain a reduced double array with the first 549 lines of the previous one. In short, given a double-sized array of 929x1, we want to eliminate the last 380 lines. How can I do??
0 comentarios
Respuesta aceptada
Arvind Sathyanarayanan
el 1 de Mzo. de 2019
Editada: Arvind Sathyanarayanan
el 1 de Mzo. de 2019
Set the rows you want to delete to null. Example:
x(550:end,:)=[];
Más respuestas (1)
Ver también
Categorías
Más información sobre Data Types 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!