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 =
logical
1
|
2 | Pass |
x = 50;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
y =
logical
0
|
3 | Pass |
x = 7;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
y =
logical
0
|
4 | Pass |
x = 343;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
y =
logical
0
|
Sum all integers from 1 to 2^n
8420 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
835 Solvers
Element by element multiplication of two vectors
269 Solvers
1097 Solvers
198 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!