Time-of-Flight Calculator
File name : 'TOF.m'. This file can be used
for calculating the time-of-flight of a certain ion
in a time-of-flight (TOF) mass spectrometer for
different ionization methods.
Four input values : 'm','dV','x','Ionization'
Ouput : Table with (adduct) ions, m/z values and
time-of-flight
m = mass of ion in Daltons (Da)
dV = potential difference in Volt (V)
x = length of flight tube in meters (m)
Ionization = ionization method
Supported ionization methods:
- Electron ionization: 'EI'
- Chemical ionization: 'CI_CH4' (methane)
'CI_NH3' (ammonia)
'CI_C4H10' (isobutane)
- Electrospray ionization: 'ESI+' and 'ESI-'
- Matrix-assisted laser
desorption ionization: 'MALDI'
[t,mz] = matrix of m/z values and
time-of-flight in seconds (s)
The output consists of a UITable
Input syntax : TOF(m,dV,x,'Ionization method')
NOTE 1: Charge state of ions in ESI are set from
1 till 10
NOTE 2: Negative values for potential difference
will be converted to absolute values
Developed by Joris Meurs BASc (2016)
Cite As
Joris Meurs (2024). Time-of-Flight Calculator (https://www.mathworks.com/matlabcentral/fileexchange/55287-time-of-flight-calculator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.