Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x='racecar';
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
ans =
1
|
2 | Pass |
%%
x= [1 2 1 2 1 2 1];
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
ans =
1
|
3 | Pass |
%%
x='firetruck'
y_correct = false;
assert(isequal(your_fcn_name(x),y_correct))
x =
firetruck
ans =
0
|
4 | Pass |
%%
x='hannah'
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
x =
hannah
ans =
1
|
54230 Solvers
283 Solvers
489 Solvers
320 Solvers
286 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!