Molecular Weight Calculator Function

버전 1.0.0.0 (3.37 KB) 작성자: Eckart Giebler
Function for calculating the molar weight of a substance given in form of a chemical formula
다운로드 수: 1.3K
업데이트 날짜: 2009/12/18

라이선스 보기

MolMass is a function for calculating the molar weight of a substance given in form of a chemical formula.
Function call: MM = MolMass(substance)
Substance is a string of the chemical formula of a substance.

Example: MM = MolMass('Fe2(SO4)3');

Substance can also be a vector of substances opened by '[' and divided by space, comma or semicolon.
Examples:
MM = MolMass('[Fe2(SO4)3 CuSO4 NaOH]') ---> MM = [399.88 159.61 39.997]
MM = MolMass('[H2SO4;H2O;P;Cl2]') ---> MM = [98.079 18.015 30.974 70.905]
MM = MolMass('[C3H5(OH)3,C3H7OH,C12H22O11,NaCl]') ---> MM = [92.095 60.096 342.3 58.442]

To distinguish charged substances the symbols '+' and '-' can be used.
Exampels:
MM = MolMass('Fe2+') ---> MM = 55.8470 - it means one mol of Fe2+
MM = MolMass('Fe3+') ---> MM = 55.8470 - it means one mol of Fe3+
but: MM = MolMass('Fe2') ---> MM = 111.694 - it means two moles of Fe

인용 양식

Eckart Giebler (2026). Molecular Weight Calculator Function (https://kr.mathworks.com/matlabcentral/fileexchange/26139-molecular-weight-calculator-function), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Chemistry에 대해 자세히 알아보기
태그 태그 추가
버전 게시됨 릴리스 정보
1.0.0.0