Cody

# Problem 13. Remove all the consonants

Solution 1471497

Submitted on 26 Mar 2018 by Sumeet Gadagkar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
s1 = 'Jack and Jill went up the hill'; s2 = 'a a i e u e i'; assert(isequal(s2,refcn(s1)))

s2 = 1×18 cell array Columns 1 through 16 {0×0 char} {'a'} {0×0 char} {' a'} {0×0 char} {' '} {'i'} {0×0 char} {' '} {'e'} {0×0 char} {' u'} {' '} {0×0 char} {'e '} {'i'} Columns 17 through 18 {0×0 char} {0×0 char} s2 = 'a a i e u e i'

2   Pass
s1 = 'I don''t want to work. I just want to bang on the drum all day.'; s2 = 'I o'' a o o. I u a o a o e u a a.'; assert(isequal(s2,refcn(s1)))

s2 = 1×31 cell array Columns 1 through 17 {'I '} {'o'} {'''} {' '} {'a'} {0×0 char} {' '} {'o '} {'o'} {0×0 char} {'. I '} {'u'} {0×0 char} {' '} {'a'} {0×0 char} {' '} Columns 18 through 31 {'o '} {'a'} {0×0 char} {' o'} {' '} {0×0 char} {'e '} {0×0 char} {'u'} {' a'} {0×0 char} {' '} {'a'} {'.'} s2 = 'I o' a o o. I u a o a o e u a a.'