Cody

Solution 542521

Submitted on 8 Dec 2014 by Jan Orwat
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
% passing solution assignin('caller','containsIllegalFcnFlag',0); assignin('caller','score',mtree('function ans = magic_mat(x), magic(x);')); assignin('caller','score',[0 1]); % fixing broken testsuite x = 4; y_correct = [16 3 2 13;5 10 11 8;9 6 7 12;4 15 14 1]

y_correct = 16 3 2 13 5 10 11 8 9 6 7 12 4 15 14 1

Suggested Problems

More from this Author2