Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.
|
|
Jerry
Posts:
81
Registered:
6/14/12
|
|
Remove some columns from a matrix
Posted:
Feb 14, 2013 8:46 AM
|
|
Hello,
A=rand (200, 450);
I would like to remove these columns (20, 36, 50:60, 71, 89) from 'A' . Should I use following command line to do this function? I wrote 50:60 since I need also to remove columns from 50 to 60.
A(:,20&36&50:60&&71&89)=[];
Thanks, Jerry
|
|
|
|