LISST-200X User’s ManualAppendix D: Processing Data Files Using MATLAB Page 104
Appendix D: Processing Data Files Using
MATLAB
Two Matlab functions for processing data are provided on the instrument USB card. They
are also available from the ‘Software and Downloads’ tab on the LISST-200X webpage. The
processing is split into two steps: (1) reading in and applying corrections to raw data files
(.RBN) and (2) inverting the corrected scattering to a particle size distribution.
The same results can be achieved by processing data files using the LISST-SOP200X
software. However, the following functions allow Matlab users to write their own processing
and plotting code.
The first function is used to read in raw data from an RBN file. The function will import the
data, apply the necessary corrections, and return the corrected data in a structure. The
syntax is as follows:
‘Datafile’ is the path to a binary .RBN file downloaded from a LISST-200X.
Optionally, you may specify a different clean water background file (.BGT) as a second
argument. The data will then be corrected using the specified background file instead of the
background contained in the RBN file.
‘RBNdata’ is a structure with the following fields: