Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a=[1 -1 2];
b=[2 4 1];
y_correct = 0;
assert(isequal(PolSol(a,b),y_correct))
ans =
[]
|
2 | Pass |
a=[ 5 2 0 5 3 0];
b=[ 3 2 5 1 0 2];
y_correct = 24;
assert(isequal(PolSol(a,b),y_correct))
ans =
[]
|
Find the sum of all the numbers of the input vector
31954 Solvers
1263 Solvers
284 Solvers
Switch matrix to a column vector
260 Solvers
Calculate square and cube of number
248 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!