Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = [ ...
1 1 0 0
0 1 0 0
1 1 0 0
0 0 0 0];
B = [ ...
1 1 0 0
0 0 1 0
1 1 0 0
0 0 0 0];
assert(isequal(gameOfLife(A),B))
|
2 | Pass |
A = [ ...
0 1 1 0
1 1 1 0
0 0 1 0
0 0 0 0];
B = [ ...
1 0 1 1
1 0 0 0
0 0 1 1
0 1 1 0];
assert(isequal(gameOfLife(A),B))
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13051 Solvers
Which values occur exactly three times?
3817 Solvers
202 Solvers
Back to basics 20 - singleton dimensions
254 Solvers
Matrix with different incremental runs
249 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!