Cody

Solution 1706362

Submitted on 12 Jan 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 = [1 2 0 1]; h = [2 2 1 1]; y_correct = [6 7 6 5]; assert(isequal(circconv(x,h),y_correct))

ans = 6 ans = 6 5 ans = 6 5 6 ans = 6 5 6 7

Assertion failed.

2   Fail
x = [1 2 3 4 5]; h = [-5 3 -2 4 3]; y_correct = [20 8 21 4 -8]; assert(isequal(circconv(x,h),y_correct))

ans = -2 ans = -2 10 ans = -2 10 -3 ans = -2 10 -3 14 ans = -2 10 -3 14 26

Assertion failed.