This project contains several different functions to apply DSP algorithms for optical communications. These functions are suitable both for coherent and non-coherent (PAM, DMT) optical communications.
Most of the functions are independent from each other. Therefore, functions in this code can be easily used and combined with other DSP functions.
- The list of functions, together with a short description, is in the Contents.m file.
- The description of input and output parameters is in the header of each function.
In general, input (and output) signals have time in the first dimension (e.g. column vectors), and the second dimension is used to manage multiple signals at a time (e.g. different polarizations, different parameters, ...).
This convention has been chosen since MATLAB stores a matrix by keeping the columns in contiguous parts of memory, therefore this convention is faster than the other way around (row vectors).
Most of the functions use a parameters structure for input parameters. The description of the parameters used in the function is usually found in the header, and the default parameters for the coherent-dsp functions is in the get_default_cohdsp_params.m file.
This code is released under MIT License.