Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = 'xkayakyy';
p = 'kayak';
assert(isequal(p,pal(a)));
|
2 | Pass |
%%
a = '3.141592653589793238462643383279502884197169399375105820974944592307816406286';
p = '46264';
assert(isequal(p,pal(a)));
|
3 | Pass |
%%
a = 'truly I say: able was I ere I saw elba, but that is another story';
p = 'able was I ere I saw elba';
assert(isequal(p,pal(a)));
|
Find the sum of all the numbers of the input vector
31946 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
Back to basics 6 - Column Vector
908 Solvers
579 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
267 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!