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))
|
Number of 1s in a binary string
2818 Solvers
Getting the row and column location from a matrix
236 Solvers
81 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
379 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!