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 |
Old_Word = 'Welcome';
y_correct = 'meelcoy';
assert(strcmp(New_Word(Old_Word),y_correct))
x =
'elcome'
y =
'meelcoy'
|
2 | Pass |
Old_Word = 'Pertinacious';
y_correct = 'usertinacioy';
assert(strcmp(New_Word(Old_Word),y_correct))
x =
'ertinacious'
y =
'usertinacioy'
|
3 | Pass |
Old_Word = 'Homogenous';
y_correct = 'usomogenoy';
assert(strcmp(New_Word(Old_Word),y_correct))
x =
'omogenous'
y =
'usomogenoy'
|
4 | Pass |
Old_Word = 'Homologous';
y_correct = 'usomologoy';
assert(strcmp(New_Word(Old_Word),y_correct))
x =
'omologous'
y =
'usomologoy'
|
5 | Pass |
Old_Word = 'Extemperaneous';
y_correct = 'usxtemperaneoy';
assert(strcmp(New_Word(Old_Word),y_correct))
x =
'xtemperaneous'
y =
'usxtemperaneoy'
|
6 | Pass |
Old_Word = 'Deterministic';
y_correct = 'iceterministy';
assert(strcmp(New_Word(Old_Word),y_correct))
x =
'eterministic'
y =
'iceterministy'
|
9875 Solvers
386 Solvers
Implement simple rotation cypher
943 Solvers
405 Solvers
107 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!