Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a function called RemoveConsonants which removes all the consonants in a given phrase. The upper and lower case of the remaining characters should remain

Write a function called RemoveConsonants which removes all the consonants in a given phrase. The upper and lower case of the remaining characters should remain unchanged. The input and output phrases are string scalars. The input string could be any length. Hint: The function should work for both upper and lower case. Restrictions: Loops should not be used. The internal functions char(), string(), and ismember() should be used.image text in transcribedimage text in transcribed

Remove all consonants Write a function called RemoveConsonants which removes all the consonants in a given phrase. The upper and lower case of the remaining characters should remain unchanged. The input and output phrases are string scalars. The input string could be any length. Hint: The function should work for both upper and lower case. Restrictions: Loops should not be used. The internal functions char), string), and ismember) should be used Ex: >>1"Jack and Jill went up the hill"; >>output RemoveConsonants (s1) output = "a aieu ei" >S1The Super Mario Game Everyone Was Waiting For Is Finally Out." outputRemoveConsonants (s1) output "e ue aio ae Eeoe a aii o I ia Ou

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions

Question

=+ (b) Find an example where u is not countably subadditive.

Answered: 1 week ago