Cody

Problem 2507. Delete 2nd and 5th column of Given 6*6 matrix

Solution 2646995

Submitted on 3 Jul 2020 by Abdelfatah Teamah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x=magic(6); y_correct = [ 35 6 26 24 3 7 21 25 31 2 22 20 8 33 17 15 30 34 12 16 4 29 13 11 ] assert(isequal(col_del(x),y_correct))

y_correct = 35 6 26 24 3 7 21 25 31 2 22 20 8 33 17 15 30 34 12 16 4 29 13 11