Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
sIn = 'hello'
sOut = 'hlleo'
assert(isequal(scrambleText(sIn),sOut))
sIn =
hello
sOut =
hlleo
|
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.
|
Test if a Number is a Palindrome without using any String Operations
181 Solvers
Create a vector whose elements depend on the previous element
391 Solvers
387 Solvers
Convert a Cell Array into an Array
430 Solvers
345 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!