Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

More Books

Students also viewed these Databases questions

Question

Describe the factors influencing of performance appraisal.

Answered: 1 week ago

Question

What are negative messages? (Objective 1)

Answered: 1 week ago