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 Solvers217
Suggested Problems
-
2164 Solvers
-
Remove the polynomials that have positive real elements of their roots.
1703 Solvers
-
Convert a numerical matrix into a cell array of strings
2066 Solvers
-
Back to basics 17 - white space
272 Solvers
-
Generate a random matrix A of (1,-1)
337 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!