Question: LAB ACTIVITY 23.29.1: Remove all consonants (Strings) This tool is provided by a third party. Though your actity may be 0/5 recorded a page refresh

LAB ACTIVITY 23.29.1: Remove all consonants (Strings) This tool is provided by a third party. Though your actity may be 0/5 recorded a page refresh may be needed to fill the banner. 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(0, string0, and ismermber) should be used. Ex >>51 - "Jack and Jill went up the hill"; >> output-RemoveConsonants (51) output - "a a ieu e i" >>51-"The Super Mario Game Everyone was waiting For Is Finally out.": >> output - RemoveConsonants (s1) autput - "e ue alo ae fece a all o I la Ou." Your Function A Save C Reset BE MATLAB Documentation a function s2 - Removeconsonants (S1) X Your solution goes here % 5 end Code to call your function C Reset 1 s1 = "Jack and Jill went up the hill"; a output-RemoveConsonants (s1) Type here to search 0 0 e 9 a A A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
