Problem 1461. Duplicate a character
Solution Stats
Problem Comments
-
2 Comments
n is a nonnegative interger.may it be the largest problem that i meet.
My initial solution with repelem(str,n) for n=0 creates a size 1x0 char class but suite only allows for a 0x0 class. Not sure why the difference would matter.
Problem Recent Solvers200
Suggested Problems
-
Back to basics 8 - Matrix Diagonals
836 Solvers
-
Set some matrix elements to zero
353 Solvers
-
698 Solvers
-
379 Solvers
-
371 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!