regexp should be banned
How the code size is just 10, is there any inbuilt function to convert number to words.?
Hooray for the File Exchange! I had no idea something like this was already out there.
That solution size sure makes it stand out, though I guess that's to be expected for a fully fledged utility.
It's a unique solution...I'll grant you that!
Extract leading non-zero digit
Word Counting and Indexing
Sum all integers from 1 to 2^n
Cycling — Critical Power
Divisible by 3
Divisible by 2
Power Times (of the day)
Scrabble Scores - 13
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office