REMOVE

4 visualizzazioni (ultimi 30 giorni)
huda nawaf
huda nawaf il 15 Ago 2011
HI, are there remove fun. to remove row from array ?
thanks
  1 Commento
Jan
Jan il 15 Ago 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.

Accedi per commentare.

Risposte (2)

Jan
Jan il 15 Ago 2011
M = rand(3, 3);
M(2, :) = []; % Remove 2nd row

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

Categorie

Scopri di più su Software Development Tools in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by