Problem 43077. Put all numbers in a string inside square brackets
Examples:
'left3down2' -> 'left[3]down[2]'
'fiat500' -> 'fiat[500]'
Solution Stats
Problem Comments
-
1 Comment
goc3
on 19 Oct 2016
The test suite for this problem has been enhanced.
Solution Comments
Show commentsProblem Recent Solvers25
Suggested Problems
-
Compute a dot product of two vectors x and y
1046 Solvers
-
11489 Solvers
-
Count consecutive 0's in between values of 1
515 Solvers
-
5991 Solvers
-
Matrix of almost all zeros, except for main diagonal
189 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!