Problem 43132. Calculate vowel / consonant ratio of a string
Given a string, calculate the ratio of vowels to consonants
for example : x = 'This is a very good Day!'
y = 7/11
Solution Stats
Problem Comments
-
3 Comments
Jean-Marie Sainthillier
on 7 Oct 2016
7 vowels in 'This is a very good Day!'.
Are you sure of that ?
CY Y
on 7 Oct 2016
i , i , a , e, o, o, a . That's 7. Is there any problem ?
Jean-Marie Sainthillier
on 10 Oct 2016
No ...
Solution Comments
Show commentsProblem Recent Solvers42
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15486 Solvers
-
Back to basics 12 - Input Arguments
592 Solvers
-
Find the largest value in the 3D matrix
1502 Solvers
-
Deleting an element in a matrix
461 Solvers
-
3729 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!