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
Venu Lolla
on 8 Apr 2012
Sourav: The function name and input parameter are incorrect in the test suite.
Ned Gulley
on 9 Apr 2012
I cleaned up the calling syntax in the test.
@bmtran (Bryant Tran)
on 9 Apr 2012
you don't specify what to do when there's an odd number of letters
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
-
399 Solvers
-
Compute a dot product of two vectors x and y
998 Solvers
-
261 Solvers
-
334 Solvers
-
There are 10 types of people in the world
1142 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!