REMOVE

4 次查看(过去 30 天)
huda nawaf
huda nawaf 2011-8-15
HI, are there remove fun. to remove row from array ?
thanks
  1 个评论
Jan
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
Jan 2011-8-15
M = rand(3, 3);
M(2, :) = []; % Remove 2nd row

Daniel Shub
Daniel Shub 2011-8-15
irow = 3;
x = magic(5)
x(irow, :) = []

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by