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 Center および File ExchangeSoftware Development Tools についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by