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".
Determine whether a vector is monotonically increasing
Find state names that end with the letter A
Arrange Vector in descending order
Detect a number and replace with two NaN's
Generate a melodic contour string matrix
Find a subset that divides the vector into equal halves
Make a function that returns its own character count
Determine the Result of a Move in Reversi
Spot the outlier
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