REMOVE

HI, are there remove fun. to remove row from array ?
thanks

1 commentaire

Jan
Jan le 15 Août 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.

Connectez-vous pour commenter.

Réponses (2)

Jan
Jan le 15 Août 2011

0 votes

M = rand(3, 3);
M(2, :) = []; % Remove 2nd row
Daniel Shub
Daniel Shub le 15 Août 2011

0 votes

irow = 3;
x = magic(5)
x(irow, :) = []

Catégories

En savoir plus sur Software Development Tools dans Centre d'aide et File Exchange

Tags

Question posée :

le 15 Août 2011

Community Treasure Hunt

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

Start Hunting!

Translated by