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 Solvers23
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15613 Solvers
-
17191 Solvers
-
457 Solvers
-
Detect a number and replace with two NaN's
193 Solvers
-
604 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!