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))
|
1309 Solvers
Least common multiple of many numbers
189 Solvers
257 Solvers
387 Solvers
1097 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!