You are on page 1of 1

Write MATLAB programs to perform the following operations:

1.Reverse a String: A program to reverse a given input string.


2.Count Vowels and Consonants: A program to count the number of vowels and
consonants in a given string.
3.Palindrome Check: A program to check whether a given string is a palindrome or
not.
4.Count Words: A program to count the number of words in a given sentence or
string.
5.Capitalize First Letter: A program to capitalize the first letter of each word in
a given sentence or string.

You might also like