Your test suite contains an error. The desired output contains a 4 in the third row, even though the task is to remove every row with an element less than or EQUAL TO a 4.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = magic(6);
y_correct = [8 28 33 17 10 15;30 5 34 12 14 16;4 36 29 13 18 11]
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
8 28 33 17 10 15
30 5 34 12 14 16
4 36 29 13 18 11
x =
8 28 33 17 10 15
30 5 34 12 14 16
|
Find the longest sequence of 1's in a binary sequence.
3369 Solvers
1365 Solvers
284 Solvers
Implement simple rotation cypher
943 Solvers
123 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!