Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
sIn = 'hello'
sOut = 'hlleo'
assert(isequal(scrambleText(sIn),sOut))
sIn =
'hello'
sOut =
'hlleo'
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.'
sOut =
'Tihs is the fsrit tmie I hvae uesd MALTAB.'
|
Omit columns averages from a matrix
527 Solvers
201 Solvers
Given a 4x4 matrix, swap the two middle columns
516 Solvers
216 Solvers
Convert from Fahrenheit to Celsius
7183 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!