Cody

Solution 1957241

Submitted on 3 Oct 2019
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   Fail
s1 = 'My name is Sourav Mondal'; y_correct = 'MUYRNAAVMMEOINSDSAOL'; assert(isequal(transposition(s1),y_correct))

Unrecognized function or variable 's2'. Error in transposition (line 2) y = s2; Error in Test1 (line 3) assert(isequal(transposition(s1),y_correct))

2   Fail
s1 = 'i am a common cipher'; y_correct = 'IOANMCAICPOHMEMR'; assert(isequal(transposition(s1),y_correct))

Unrecognized function or variable 's2'. Error in transposition (line 2) y = s2; Error in Test2 (line 3) assert(isequal(transposition(s1),y_correct))

3   Fail
s1 = 'BATMAN rules GOTHAM'; y_correct = 'BEASTGMOATNHRAUML'; assert(isequal(transposition(s1),y_correct))

Unrecognized function or variable 's2'. Error in transposition (line 2) y = s2; Error in Test3 (line 3) assert(isequal(transposition(s1),y_correct))