Nice one-liner regexprep with skillful reading of the input string format. The processing and output string creation is an efficient marvel.
Determine if a Given Number is a Triangle Number
326 Solvers
117 Solvers
Arrange Vector in descending order
4553 Solvers
352 Solvers
571 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!