Borrar filtros
Borrar filtros

matrix operation

2 visualizaciones (últimos 30 días)
SUDIP PODDAR
SUDIP PODDAR el 14 de Sept. de 2011
hi i am using guide.here i use a matrix of size 50 by 50. I want to delete a particular column of that matrix . the column no is given by user & that column will be deleted & save the new matrix to a text file. How i do that. Plz plz help me.

Respuesta aceptada

Grzegorz Knor
Grzegorz Knor el 14 de Sept. de 2011
You can delete column in this way:
a = rand(50);
a(:,3) = [];% deletes 3rd column
For other questions see documentation:
doc input
doc save

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by