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 11Answer 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
Solution Comments
Show comments
Loading...
Problem Recent Solvers172
Suggested Problems
-
We love vectorized solutions. Problem 1 : remove the row average.
893 Solvers
-
find the maximum element of the matrix
542 Solvers
-
5878 Solvers
-
289 Solvers
-
Create an anti-identity matrix
202 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!
Undefined variable x
Done change !!