chemical_elements

Lookup a chemical element based on Symbol, name, or atomic number

You are now following this Submission

Lookup a chemical element based on Symbol, name, or atomic number, and get back the symbol, name, atomic number or atomic weight.

Examples:
% name = elements('Symbol', 'Fe', 'name');
% mass = elements('atomic_number', 26, 'atomic_mass');
% standardSymbol = elements('SYMBOL', 'FE', 'Symbol');

Cite As

R Hunt (2026). chemical_elements (https://se.mathworks.com/matlabcentral/fileexchange/9921-chemical_elements), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: z-porter/kktranz, Cluster generator

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

* Updated and improved doc
* modifed interface to allow output_specifer be all_struct if output_specifier not defined
* fixed erroneous error message
* Added comments: why global var, switch statements, etc