This is the string version of Problem 1035. Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a string like abbcccddddeeeee
So if n = 3, then return
'abbccc'
And if n = 5, then return
'abbcccddddeeeee'
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers276
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15822 Solvers
-
Who knows the last digit of pi?
692 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
699 Solvers
-
Basics: 'Find the eigenvalues of given matrix
440 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1302 Solvers
More from this Author30
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Same as Problem 1035
It is what I have written in the summary of this problem. @+