Charge state calculator
Version 2.0.0.0 (1.7 KB) by
Joris Meurs
Tool for calculating the charge state of a molecule in a solution with a certain pH
File name : 'charge.m'. This file can be used
for calculating the charge state of a certain molecule
in a solution with a certain pH in the pH range of
0 - 14
Three input values : 'pH', 'pKa' and 'type'
One ouput value : 'c'
pH: pH of the solution
pKa: pKa of the molecule
type: Choose 'basic' in case of a basic group
Choose 'acidic' in case of an acidic group
c: Charge state of the molecule
Input syntax : c(pH,pKa,'type')
Developed by Joris Meurs BASc (2016)
Cite As
Joris Meurs (2026). Charge state calculator (https://www.mathworks.com/matlabcentral/fileexchange/55403-charge-state-calculator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
