REMOVE

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

1 comentario

Jan
Jan el 15 de Ag. de 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.

Iniciar sesión para comentar.

Respuestas (2)

Jan
Jan el 15 de Ag. de 2011

0 votos

M = rand(3, 3);
M(2, :) = []; % Remove 2nd row
Daniel Shub
Daniel Shub el 15 de Ag. de 2011

0 votos

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

Categorías

Más información sobre Software Development Tools en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 15 de Ag. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by