Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 0.63;
y_correct = [1 0 1 0 1 1];
assert(isequal(coins(x),y_correct))
|
2 | Pass |
x = 0.49;
y_correct = [0 2 0 1 2 0];
assert(isequal(coins(x),y_correct))
|
Rotate input square matrix 90 degrees CCW without rot90
380 Solvers
Output any real number that is neither positive nor negative
316 Solvers
367 Solvers
379 Solvers
615 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!