Cody

Solution 1954104

Submitted on 30 Sep 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
A = 100; B = 100; assert(isequal(hankelize(A),B));

m = 1 l = 1 x = 100

Output argument "B" (and maybe others) not assigned during call to "hankelize". Error in Test1 (line 3) assert(isequal(hankelize(A),B));

2   Fail
A = [2,0 2,3 9,4]; B = [2,1 1,6 6,4]; assert(isequal(hankelize(A),B));

m = 3 l = 2 x = 2 0 0 0 0 0 x = 2 0 2 3 0 0 x = 2 0 2 3 9 4

Output argument "B" (and maybe others) not assigned during call to "hankelize". Error in Test2 (line 7) assert(isequal(hankelize(A),B));

3   Fail
A = [5 1 0 7 10 9]; B = [5 4 5 4 5 9]; assert(isequal(hankelize(A),B));

m = 2 l = 3 x = 5 1 0 0 0 0 x = 5 1 0 7 10 9

Output argument "B" (and maybe others) not assigned during call to "hankelize". Error in Test3 (line 5) assert(isequal(hankelize(A),B));

4   Fail
A = [3 7 10 2 3 5 1 2 6 3 2 7]; B = [3 5 7 2 5 7 2 2 7 2 2 7]; assert(isequal(hankelize(A),B));

m = 3 l = 4 x = 3 7 10 2 0 0 0 0 0 0 0 0 x = 3 7 10 2 3 5 1 2 0 0 0 0 x = 3 7 10 2 3 5 1 2 6 3 2 7

Output argument "B" (and maybe others) not assigned during call to "hankelize". Error in Test4 (line 7) assert(isequal(hankelize(A),B));

5   Fail
A = [2 0 -1 10 -3 6 8 4 0 4 2 0 3 -1 -10 1 4 2]; B = [2 4 2 3 -3 3 4 2 3 -3 3 2 2 3 -3 3 2 2]; assert(isequal(hankelize(A),B));

m = 3 l = 6 x = 2 0 -1 10 -3 6 0 0 0 0 0 0 0 0 0 0 0 0 x = 2 0 -1 10 -3 6 8 4 0 4 2 0 0 0 0 0 0 0 x = 2 0 -1 10 -3 6 8 4 0 4 2 0 3 -1 -10 1 4 2

Output argument "B" (and maybe others) not assigned during call to "hankelize". Error in Test5 (line 7) assert(isequal(hankelize(A),B));