Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x='racecar';
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
y =
0
y =
1
|
2 | Pass |
x= [1 2 1 2 1 2 1];
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
y =
0
y =
1
|
3 | Pass |
x='firetruck'
y_correct = false;
assert(isequal(your_fcn_name(x),y_correct))
x =
'firetruck'
y =
0
|
4 | Pass |
x='hannah'
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
x =
'hannah'
y =
0
y =
1
|
5832 Solvers
Return a list sorted by number of occurrences
1504 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
264 Solvers
Check that number is whole number
1070 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!