Problem 495. Formatting currency numbers
Solution Stats
Solution Comments
-
1 Comment
This looks much (c)leaner than the REGEXP method.
-
2 Comments
while on the topic of 'undocumented trivia that will earn you a couple of cody points for no good reason', have you seen this one?
I believe this is the very first use of the Ans Hack in Cody. See http://blogs.mathworks.com/community/2016/06/23/the-great-ans-hack/
-
2 Comments
interesting use of strread to turn a string into a cell array (though probably only really useful in cody)
Kids, don't try this at home. :-)
-
1 Comment
This solution was proposed by Oleg Komarov.
Problem Recent Solvers101
Suggested Problems
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
414 Solvers
-
4992 Solvers
-
Fahrenheit to Celsius converter
427 Solvers
-
2574 Solvers
-
Number of Even Elements in Fibonacci Sequence
920 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!