This solution is outdated. To rescore this solution, sign in.
-
8 Comments
Show
5 older comments
liang xu
on 26 Oct 2017
so stupid rule!!
Minyoung Hong
on 30 Mar 2023
what is this?
Christian Schröder
on 30 Mar 2023
@Minyoung Hong It's a trick to decrease the solution size. The actual code is in the (?@...) construct in the regular expression, and is evaluated using match-time code evaluation. See doc regexp for more information; but note that this trick is generally frowned upon on Cody.
Suggested Problems
-
Return elements unique to either input
777 Solvers
-
Vectorize the digits of an Integer
325 Solvers
-
Sum of first n positive integers
591 Solvers
-
Fix the last element of a cell array
1549 Solvers
-
4507 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!