Cody

Solution 317507

Submitted on 10 Sep 2013 by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
%% x = (1:5)'; y_correct = [1 5 4 3 2;2 1 5 4 3;3 2 1 5 4;4 3 2 1 5;5 4 3 2 1]; assert(isequal(shifted(x),y_correct))

[Warning: First element of input column does not match first element of input row. Column wins diagonal conflict.] [> In toeplitz at 32 In shifted at 2 In verifyCode>evaluateCode at 231 In verifyCode at 40 In fevalJSON at 14]