Problem 2140. Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example,
s='achyuta'
output='AcHyUtA'
Update - Test cases added at 09-09-2022
Solution Stats
Problem Comments
-
1 Comment
goc3
on 31 May 2017
Additional test cases have been added.
Solution Comments
Show commentsProblem Recent Solvers272
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3657 Solvers
-
Back to basics 23 - Triangular matrix
1117 Solvers
-
Create a vector whose elements depend on the previous element
779 Solvers
-
Split a string into chunks of specified length
2044 Solvers
-
5137 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!