Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1; a=1:3;
y_correct = 6;
assert(isequal(Poly(x,a),y_correct))
ans =
6
|
2 | Pass |
x = 0; a=1:9;
y_correct = 1;
assert(isequal(Poly(x,a),y_correct))
ans =
1
|
3 | Pass |
x = 0; a=3:9;
y_correct = 3;
assert(isequal(Poly(x,a),y_correct))
ans =
3
|
4 | Pass |
x = -1; a=[7,12,2];
y_correct = -3;
assert(isequal(Poly(x,a),y_correct))
ans =
-3
|
3117 Solvers
Project Euler: Problem 7, Nth prime
522 Solvers
Solve the set of simultaneous linear equations
274 Solvers
If you have matrix A, create matrix B using matrix A as an "element"
88 Solvers
Get derivarive of polynomial given as vector array.
49 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!