How cam I write a method that takes in a String and returns a new string that replaces every vowel with two occurrences of that vowel.

Answers (2)

First you have to show us your String class. MATLAB does not have a String class.
It looks to me that you are asking homework questions about a different programming language.

Tags

Asked:

on 2 Dec 2015

Answered:

on 2 Dec 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!