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))
ans =
logical
1
|
2 | Pass |
x = 50;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
ans =
logical
0
|
3 | Pass |
x = 7;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
ans =
logical
0
|
4 | Pass |
x = 343;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
ans =
logical
0
|
306 Solvers
Calculate the area of a triangle between three points
878 Solvers
convert matrix to single column
307 Solvers
276 Solvers
Find out sum of all elements of given Matrix
349 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!