Given a string/character array, return true if the string is a palindrome else returns false.

For example:

sample_text = "Sore was I ere I saw Eros.";
isPalindrome(sample_text);
ans =
      True 

Solution Stats

133 Solutions

34 Solvers

Last Solution submitted on May 12, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers34

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!