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))
|
Numbers with prime factors 2, 3 and 5.
166 Solvers
Calculate the area of a triangle between three points
871 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
Test if two numbers have the same digits
187 Solvers
Matlab Basics - Create a row vector
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!