Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 5;
a = [1 0 1 0 1;
0 1 0 1 0;
1 0 1 0 1;
0 1 0 1 0;
1 0 1 0 1];
assert(isequal(a,checkerboard(n)))
|
2 | Pass |
n = 4;
a = [1 0 1 0;
0 1 0 1;
1 0 1 0;
0 1 0 1];
assert(isequal(a,checkerboard(n)))
|
405 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
Solving Quadratic Equations (Version 1)
427 Solvers
Find out value of sine given by degree.
231 Solvers
Calculate Amount of Cake Frosting
7484 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!