Problem 1043. Generate a string like abbcccddddeeeee
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
Jean-Marie Sainthillier
on 28 Nov 2012
Same as Problem 1035
Aurelien Queffurust
on 29 Nov 2012
It is what I have written in the summary of this problem. @+
Solution Comments
Show commentsProblem Recent Solvers274
Suggested Problems
-
Return a list sorted by number of occurrences
2888 Solvers
-
Project Euler: Problem 10, Sum of Primes
2086 Solvers
-
Generate a random matrix A of (1,-1)
398 Solvers
-
07 - Common functions and indexing 3
424 Solvers
-
Add a row of zeros on top of a matrix
265 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!