Given a string, calculate the ratio of vowels to consonants
for example :
x = 'This is a very good Day!'
y = 7/11
7 vowels in 'This is a very good Day!'.
Are you sure of that ?
i , i , a , e, o, o, a . That's 7. Is there any problem ?
Is A the inverse of B?
Find the logic
Given the variable x as your input, multiply it by four, then divide it by two. Then put the result in y.
Frequency Analysis of Text
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office