Problem 2507. Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix.
Example
Suppose A = magic(6)
35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11
Answer must be
35 6 26 24 3 7 21 25 31 2 22 20 8 33 17 15 30 34 12 16 4 29 13 11
Solution Stats
Problem Comments
-
2 Comments
rifat
on 14 Aug 2014
Undefined variable x
Pritesh Shah
on 14 Aug 2014
Done change !!
Solution Comments
Show commentsProblem Recent Solvers161
Suggested Problems
-
3633 Solvers
-
Create a square matrix of multiples
467 Solvers
-
Test if two numbers have the same digits
240 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
371 Solvers
-
construct matrix with identical rows
195 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!