Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x='racecar';
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
y =
logical
1
|
2 | Pass |
x= [1 2 1 2 1 2 1];
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
y =
logical
1
|
3 | Pass |
x='firetruck'
y_correct = false;
assert(isequal(your_fcn_name(x),y_correct))
x =
firetruck
y =
logical
0
|
4 | Pass |
x='hannah'
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
x =
hannah
y =
logical
1
|
Back to basics 3 - Temp Directory
328 Solvers
Flip the main diagonal of a matrix
506 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3612 Solvers
559 Solvers
548 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!