Cody

# Problem 543. deconvolution

Solution 1980624

Submitted on 17 Oct 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
v=[1 0 0 -1]; w=[1 -1]; assert(integ(v,w))

d = 1 1 1 ans = 7

Output argument "yesno" (and maybe others) not assigned during call to "integ". Error in Test1 (line 3) assert(integ(v,w))

2   Fail
v=[2 9 6 -1 16 -5]; w=[2 3 -1 5]; assert(integ(v,w))

d = 1 3 -1 ans = 9

Output argument "yesno" (and maybe others) not assigned during call to "integ". Error in Test2 (line 3) assert(integ(v,w))

3   Fail
v=[1 4 10 20 35 50 58 58 49 30]; w=1:6; assert(integ(v,w))

d = 1 2 3 4 5 ans = 57

Output argument "yesno" (and maybe others) not assigned during call to "integ". Error in Test3 (line 3) assert(integ(v,w))

4   Fail
v=1:10; w=1:6; assert(~integ(v,w))

d = 1 0 0 0 0 ans = 16

Output argument "yesno" (and maybe others) not assigned during call to "integ". Error in Test4 (line 3) assert(~integ(v,w))

5   Fail
v=3:12; w=-3:2; assert(~integ(v,w))

d = -1.0000 -0.6667 -0.8889 -1.1852 -1.5802 ans = -28.8395

Output argument "yesno" (and maybe others) not assigned during call to "integ". Error in Test5 (line 3) assert(~integ(v,w))