Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [4,5,5,4];
y_correct = true;
assert(isequal(isPalindrome(x),y_correct))
|
2 | Pass |
x =ones(4);
y_correct = true;
assert(isequal(isPalindrome(x),y_correct))
|
3 | Pass |
x = [2,7,2; 6,9,6; 2,7,2];
y_correct = true;
assert(isequal(isPalindrome(x),y_correct))
|
4 | Pass |
x = [1,2,3];
y_correct = false;
assert(isequal(isPalindrome(x),y_correct))
|
5 | Pass |
x = [2,7,2; 6,9,6; 3,5,3];
y_correct = false;
assert(isequal(isPalindrome(x),y_correct))
|
Sum all integers from 1 to 2^n
8416 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
334 Solvers
246 Solvers
452 Solvers
331 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!