Show older comments
HI, are there remove fun. to remove row from array ?
thanks
1 Comment
Jan
on 15 Aug 2011
Such basic functions are explained exhaustively in the Getting Started chapters of the documentation. It is very recommended to read the instructions for such a powerful tool as MATLAB.
Answers (2)
Jan
on 15 Aug 2011
M = rand(3, 3);
M(2, :) = []; % Remove 2nd row
Daniel Shub
on 15 Aug 2011
irow = 3;
x = magic(5)
x(irow, :) = []
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!