Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
sIn = 'hello'
sOut = 'hlleo'
assert(isequal(scrambleText(sIn),sOut))
sIn =
'hello'
sOut =
'hlleo'
sIn =
1
eIn =
5
|
2 | Pass |
sIn = 'This is the first time I have used MATLAB.'
sOut = 'Tihs is the fsrit tmie I hvae uesd MALTAB.'
assert(isequal(scrambleText(sIn),sOut))
sIn =
'This is the first time I have used MATLAB.'
sOut =
'Tihs is the fsrit tmie I hvae uesd MALTAB.'
sIn =
1 6 9 13 19 24 26 31 36
eIn =
4 7 11 17 22 24 29 34 41
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35571 Solvers
1600 Solvers
3968 Solvers
651 Solvers
509 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!