Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x='racecar';
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
ans =
logical
1
|
2 | Pass |
x= [1 2 1 2 1 2 1];
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
ans =
logical
1
|
3 | Pass |
x='firetruck'
y_correct = false;
assert(isequal(your_fcn_name(x),y_correct))
x =
'firetruck'
ans =
logical
0
|
4 | Pass |
x='hannah'
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
x =
'hannah'
ans =
logical
1
|
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
235 Solvers
Put Two 1D matrices into one 1D matrix
110 Solvers
405 Solvers
309 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!