Cody

Solution 1603775

Submitted on 8 Aug 2018 by Martin C.
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   Pass
u = [1 3 5 3]; v = [1,1]; y_correct = [1 2 3]; assert(isequal(poly_div(u,v),y_correct));

y = 1 2 3

2   Pass
u=[4 -2 -14 -3 17 21 9]; v = [1 2 1]; y_correct = [4 -10 2 3 9]; assert(isequal(poly_div(u,v),y_correct));

y = 4 -10 2 3 9