Cody

Problem 1217. create a circulant matrix

Solution 2389883

Submitted on 27 May 2020
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 = [0 0 1]; y_correct = [0 1 0; 0 0 1; 1 0 0]; assert(isequal(circulant(x),y_correct))

Error using circulant (line 3) Unable to run the 'fevalJSON' function because it calls the 'input' function, which is not supported for this product offering. Error in Test1 (line 3) assert(isequal(circulant(x),y_correct))