-
2 Comments
Ramon Villamangca
on 30 Mar 2023
Not much of a challenge if we allow regexp.. :)
Christian Schröder
on 30 Mar 2023
Admittedly not. But I personally prefer problems where the difficulty doesn't derive from restrictions imposed anyway, and looking at your solution I doubt I would have been able to solve this one otherwise.
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15613 Solvers
-
5977 Solvers
-
1567 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
163 Solvers
-
Find a subset that divides the vector into equal halves
391 Solvers
More from this Author116
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!