Question

Q3) We are given a Turkish word. Check if it is the same when the word is reversely read. Example: neden. When it is revers for matlab programming beginner level
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please give positive ratings for my effort. Thanks.

PROGRAM

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 a palindrome.']);
end

IMAGE OF PROGRAM

1 - - 2 3 4 - 5 1.0 1.1 0 clear clc 32. Input a string. string = input(What is your string: , s); $3. Check if the string

IMAGE OF OUTPUT

Command Window New to MATLAB? Watch this Video see Demos, or read Getting Started What is your string: amma The string, amma,

Add a comment
Know the answer?
Add Answer to:
for matlab programming beginner level Q3) We are given a Turkish word. Check if it is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT