This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 0;
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
y =
0
y =
1
|
2 | Pass |
x = 50;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
y =
0
|
3 | Pass |
x = 7;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
y =
0
|
4 | Pass |
x = 343;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
y =
0
|
250 Solvers
238 Solvers
289 Solvers
2625 Solvers
309 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!