Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x='racecar';
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x= [1 2 1 2 1 2 1];
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
|
3 | Pass |
x='firetruck'
y_correct = false;
assert(isequal(your_fcn_name(x),y_correct))
x =
firetruck
|
4 | Pass |
x='hannah'
y_correct = true;
assert(isequal(your_fcn_name(x),y_correct))
x =
hannah
|
Getting the absolute index from a matrix
211 Solvers
Sum the numbers on the main diagonal
453 Solvers
07 - Common functions and indexing 4
319 Solvers
Create an anti-identity matrix
153 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!