Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 1;
y_correct = [1 2;3 4];
assert(isequal(quadrants(n),y_correct))
n = 2;
y_correct = [1 1 2 2;1 1 2 2;3 3 4 4;3 3 4 4];
assert(isequal(quadrants(n),y_correct))
Q =
1 2
3 4
Q =
1 1 2 2
1 1 2 2
3 3 4 4
3 3 4 4
|
895 Solvers
204 Solvers
185 Solvers
Create sequnce 1 4 9 16 25.........
190 Solvers
Back to Basics - Find no. of elements in a matrix?
216 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!