How can I write MATLAB program for string palindrome?

228 Views|Posted 9 years ago
Asked by Gosala Raju
1 Answer
mani  khanna
9 years ago
Here is the MATLAB program for string palindrome: clear clc %2. Input a string. string = input('What is your string: ', 's'); %3. Check if the string is a palindrome or not. if string == fliplr(string); disp (['The string, ' string ', is a palindrome.']); else disp (['The string, ' string ', is not

...Read more

Thumbs Up IconUpvote Thumbs Down Icon

Taking an Exam? Selecting a College?

Get authentic answers from experts, students and alumni that you won't find anywhere else.

On Shiksha, get access to

66K
Colleges
|
1.2K
Exams
|
6.9L
Reviews
|
1.9M
Answers

Share Your College Life Experience

Didn't find the answer you were looking for?

Search from Shiksha's 1 lakh+ Topics

or

Ask Current Students, Alumni & our Experts

Have a question related to your career & education?

or

See what others like you are asking & answering