Solution 14 is classic Tim utilizing a multidimensional single for loop with a stunning magical rune string.
This solution is not general. How would this deal with NaCl for instance?
Another astounding solution by Alfonso. A symbolic solution with regexprep using an expert logical twist to accommodate all molecules.
This solution is not general. How would it deal with CaCO3?
give nth decimal place of pi
Project Euler: Problem 9, Pythagorean numbers
Fix the last element of a cell array
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
Pandiagonal Prime Magic Square Verification
Slitherlink I: Trivial
GJam 2011 Africa Qualifier C: House, maximum area rectangle
USC Spring 2013 ACM: Walking on Thin Ice
GJam 2013 Veterans: Hedge
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