Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 2;
y_correct = [0 1; 1 0];
assert(isequal(leg_poly(x),y_correct))
|
2 | Pass |
x = 3;
y_correct = [0 0 1; 0 1 0; 1.5 0 -0.5];
assert(isequal(leg_poly(x),y_correct))
|
546 Solvers
Make a random, non-repeating vector.
2808 Solvers
Getting the row and column location from a matrix
236 Solvers
Switch matrix to a column vector
260 Solvers
5121 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!