Problem 565. Transposition as a CIPHER
This all about transcripting a text message. If the input string is: s1 = 'My name is Sourav Mondal', then the output is: s2 = 'MUYRNAAVMMEOINSDSAOL'. Just divide the string from middle, according to no. of alphabets & then take alphabets/letters alternatively from the two strings!!
Solution Stats
Problem Comments
-
6 Comments
Show
3 older comments
Sourav Mondal
on 10 Apr 2012
Venu: There is nothing to do with the name & parameter names. Many have submitted the correct solution!
Sourav Mondal
on 10 Apr 2012
@bmtran: u have to be intelligent enough to handle both the even & odd cases!! That's the challenge!
Venu Lolla
on 10 Apr 2012
Sourav: Not any more by the time you made your comment, because Ned Gulley fixed the calling syntax in the test suite - see comment 2.
Solution Comments
Show commentsProblem Recent Solvers215
Suggested Problems
-
2491 Solvers
-
Reverse the Words (not letters) of a String
447 Solvers
-
Back to basics 8 - Matrix Diagonals
931 Solvers
-
451 Solvers
-
656 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!