-
1 Comment
Jan Orwat
on 7 Jun 2016
suprisingly, this code doesn't work in previous versions of MATLAB. Looks like things under the mask of regexprep changed. Previous policy was [match1][match2]...[matchN][replace1][replace2]...[replaceN] while now it's more like [match1][replace1]...[matchN][replaceN]
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6371 Solvers
-
116 Solvers
-
Vectorizing, too easy or too hard?
145 Solvers
-
Remove white space from the string
196 Solvers
-
Join Strings with Multiple Different Delimiters
199 Solvers
More from this Author100
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!