Cody

# Problem 22. Remove the vowels

Solution 204105

Submitted on 14 Feb 2013 by Frank
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 = 'Jck nd Jll wnt p th hll'; assert(isequal(s2,refcn(s1)))

ind = [] ind = [] ind = 2 6 ind = 2 6 ind = 2 6 16 25 ind = 2 6 16 25 ind = 2 6 16 25 11 28 ind = 2 6 16 25 11 28 ind = 2 6 16 25 11 28 ind = 2 6 16 25 11 28 ind = 2 6 16 25 11 28 20 s1 = Jck nd Jll wnt p th hll

2   Pass
%% s1 = 'I don''t want to work. I just want to bang on the drum all day.'; s2 = ' dn''t wnt t wrk. jst wnt t bng n th drm ll dy.'; assert(isequal(s2,refcn(s1)))

ind = [] ind = [] ind = 10 31 39 55 60 ind = 10 31 39 55 60 ind = 10 31 39 55 60 48 ind = 10 31 39 55 60 48 1 23 ind = 10 31 39 55 60 48 1 23 ind = 10 31 39 55 60 48 1 23 ind = 10 31 39 55 60 48 1 23 4 15 18 36 43 ind = 10 31 39 55 60 48 1 23 4 15 18 36 43 ind = 10 31 39 55 60 48 1 23 4 15 18 36 43 26 52 s1 = dn't wnt t wrk. jst wnt t bng n th drm ll dy.