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?
1742 Solvers
341 Solvers
Project Euler: Problem 9, Pythagorean numbers
296 Solvers
Fix the last element of a cell array
359 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
301 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!