Question: MATLAB. NO LOOPS ALLOWED This tool is provided by a third party. Your activity is always recorded, but you may need to refresh the page


MATLAB. NO LOOPS ALLOWED
This tool is provided by a third party. Your activity is always recorded, but you may need to refresh the page to fill in the banner. LAB TVITY 23.38.1: Remove all consonants (Strings) 0/5 Remove all consonants Write a function RemoveConsonants to remove all the consonants in the given phrase. The inut phrase will be a character array. Leave upper and lower case of the remaining characters unchanged. Hint: Make sure the function works for both upper and lower case. Restriction: You may not use loops. The input string could be any length. Make use of the internal function ismember. For example: 'Jack and Jill went up the hill'; output-RemoveConsonants(s1) output = >1-'The Super Mario Game Everyone Was Waiting For Is Finally Out.' >> output= RemoveConsonants ( s1) output = 'e ue aio ae Eeoe a aiioI ia Ou
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
