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
-
Find the largest value in the 3D matrix
1227 Solvers
-
4975 Solvers
-
248 Solvers
-
549 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
212 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!