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
Solution Comments
Show comments
Loading...
Problem Recent Solvers235
Suggested Problems
-
Get the area codes from a list of phone numbers
1076 Solvers
-
Getting the row and column location from a matrix
301 Solvers
-
701 Solvers
-
Piecewise linear interpolation
640 Solvers
-
Change the sign of even index entries of the reversed vector
662 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Sourav: The function name and input parameter are incorrect in the test suite.
I cleaned up the calling syntax in the test.
you don't specify what to do when there's an odd number of letters
Venu: There is nothing to do with the name & parameter names. Many have submitted the correct solution!
@bmtran: u have to be intelligent enough to handle both the even & odd cases!! That's the challenge!
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.