How to delete rows from an array?
Ältere Kommentare anzeigen
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??
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 1 Mär. 2019
0 Stimmen
a = a(1:549,:);
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!