Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 1;
assert(isequal(bullseye(x),y_correct))
a =
1
|
2 | Pass |
x = 3;
y_correct = [3 2 3; 2 1 2; 3 2 3];
assert(isequal(bullseye(x),y_correct))
|
3 | Pass |
x = 5;
y_correct = [5 4 3 4 5; 4 3 2 3 4; 3 2 1 2 3; 4 3 2 3 4; 5 4 3 4 5];
assert(isequal(bullseye(x),y_correct))
|
3375 Solvers
Determine if a Given Number is a Triangle Number
322 Solvers
Find the largest value in the 3D matrix
1056 Solvers
2539 Solvers
272 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!