Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 2;
y_correct = [0 1; 1 0];
assert(isequal(leg_poly(x),y_correct))
ans =
0 1
1 0
|
2 | Pass |
%%
x = 3;
y_correct = [0 0 1; 0 1 0; 1.5 0 -0.5];
assert(isequal(leg_poly(x),y_correct))
ans =
0 1
1 0
|
1900 Solvers
312 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
315 Solvers
349 Solvers
Matlab Basics - Absolute Value
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!