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))
|
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
140 Solvers
173 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
298 Solvers
Area of an equilateral triangle
2763 Solvers
616 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!