The objective of this problem is to determine the number of unique vowels used in the given string.
Now count vowels in STRING.
STRING='We are the MaTLaBins'; then OUTPUT is 3
STRING='LaBoRaToRy'; then OUTPUT will be 2
Just to clarify the problem statement: the objective of this problem seems to be to determine the number of unique vowels used in the given string.
Correct output for Laboratory is 3.
Remove the vowels
Getting logical indexes
Basic arrays operations.
Calculate the derivative of a polynomial
factor to number
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