Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATLAB.. The instruction say now loops and accept capitol or lower case inputs 23.38 Remove all consonants (Strings) LAB ACTIVITY 23.38.1: Remove all consonants (Strings)
MATLAB.. The instruction say now loops and accept capitol or lower case inputs
23.38 Remove all consonants (Strings) LAB ACTIVITY 23.38.1: Remove all consonants (Strings) 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. 0/5 Remove all consonants Write a function RemoveConsonants to remove all the consonants in the given phrase. 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 >>s1 = 'Jack and Jill went up the hill'; >> output-RemoveConsonants (s1) output = 'aaieuei Your Function Save Reset MATLAB Documentation 1 function s2 = RemoveConsonants(s1) % Your solution goes here % 5 end Code to call vour functionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started