matrix operation

1 次查看(过去 30 天)
SUDIP PODDAR
SUDIP PODDAR 2011-9-14
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by