Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
p=[-1 1]
x=[1 2;3 4]
y_correct=[ 0 -1; -2 -3]
assert(isequal(SolvePoly(p,x),y_correct))
p =
-1 1
x =
1 2
3 4
y_correct =
0 -1
-2 -3
y =
0 -1
-2 -3
|
2 | Pass |
p=[-2 0 1 -1 3 2]
x=[5 6 11; 2 13 7; 4 9 21]
y_correct=[-6133 -15352 -320857;
-52 -740517 -33297;
-1986 -117421 -8159317]
assert(isequal(SolvePoly(p,x),y_correct))
p =
-2 0 1 -1 3 2
x =
5 6 11
2 13 7
4 9 21
y_correct =
-6133 -15352 -320857
-52 -740517 -33297
-1986 -117421 -8159317
y =
-6133 -15352 -320857
-52 -740517 -33297
-1986 -117421 -8159317
|
4597 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
Do Fast Fourier Transformation
221 Solvers
Deleting an element in a matrix
325 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!