It's unfortunate that not all names can be build with the periodic table. I've tried this as a kid. The best that I can do with my name is RaF or RaFAl.
I had the syntax for doing this with grep for a list of words, but couldn't quite figure out how to change it into MATLAB code...
fails to "heralds", "frames", "pace", "bathe", etc.
Thanks for the suggestion. I added "frames" to the test.
It's a good thing that the length of a string does not count towards the score!
But it would fail to >12 elements phrase like "ButherLikesStewHisWifeLikesBrowniesWithBananas".
Stuff the Board
Make a 1 hot vector
Compute LOG(1+X) in natural log
How long is the longest prime diagonal?
Eliminate Polysyllabics: Long live short words!
Spot the rectangle (Part 2)
The 17x17 Problem
Determine the Result of a Move in Reversi
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