Cody

Solution 667830

Submitted on 8 May 2015 by Meade
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)))

vowels = 'a' 'e' 'i' 'o' 'u' idxvowels = 2 6 11 16 20 25 28 idxallelse = 5 9 14 19 22 26 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)))

vowels = 'a' 'e' 'i' 'o' 'u' idxvowels = 1 4 10 15 18 23 26 31 36 39 43 48 52 55 60 idxallelse = Columns 1 through 16 2 6 8 13 16 21 22 24 29 34 37 42 45 49 54 58 Column 17 62 s2 = I o' a o o. I u a o a o e u a a.

Suggested Problems