Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = 2;
y_correct = [1 1;1 1];
assert(isequal(your_fcn_name(x),y_correct))
|
3 | Pass |
x = 3;
y_correct = [1 1 1;1 0 1;1 1 1];
assert(isequal(your_fcn_name(x),y_correct))
|
4 | Pass |
x = 4;
y_correct = [1 1 1 1
1 0 0 1
1 0 0 1
1 1 1 1];
assert(isequal(your_fcn_name(x),y_correct))
|
27989 Solvers
The Goldbach Conjecture, Part 2
1284 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
835 Solvers
Find the sides of an isosceles triangle when given its area and height from its base to apex
449 Solvers
137 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!