Cody

Solution 1965280

Submitted on 7 Oct 2019
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   Fail
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

A null assignment can have only one non-colon index. Error in col_del (line 2) x(:,2,5)=[];% write your code Error in Test1 (line 10) assert(isequal(col_del(x),y_correct))