REMOVE
显示 更早的评论
HI, are there remove fun. to remove row from array ?
thanks
1 个评论
Jan
2011-8-15
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.
回答(2 个)
Jan
2011-8-15
M = rand(3, 3);
M(2, :) = []; % Remove 2nd row
Daniel Shub
2011-8-15
irow = 3;
x = magic(5)
x(irow, :) = []
类别
在 帮助中心 和 File Exchange 中查找有关 Software Development Tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!