This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
s1 = 'My name is Sourav Mondal';
y_correct = 'MUYRNAAVMMEOINSDSAOL';
assert(isequal(transposition(s1),y_correct))
mdPt =
10
y2 =
'MUYRNAAVMMEOINSDSAOL'
|
2 | Pass |
s1 = 'i am a common cipher';
y_correct = 'IOANMCAICPOHMEMR';
assert(isequal(transposition(s1),y_correct))
mdPt =
8
y2 =
'IOANMCAICPOHMEMR'
|
3 | Pass |
s1 = 'BATMAN rules GOTHAM';
y_correct = 'BEASTGMOATNHRAUML';
assert(isequal(transposition(s1),y_correct))
mdPt =
8
y2 =
'BEASTGMOATNHRAUM'
|
1091 Solvers
190 Solvers
Convert a vector into a number
503 Solvers
Create a matrix X, where each column is a shifted copy of the vector v
142 Solvers
274 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!