This program estimates the background (or baseline) of optical spectra by the polynomial minimizing a cost function. If the cost function was quadratic, the solution is the least squares estimation, which is not appropriate in this problem. Instead, we need to use of non-quadratic cost function such as the symmetrical Huber function, the symmetrical truncated quadratic or their respective asymmetrical shape.
The program backcor is the new version of the former backest (released in 2008). The main difference is the availability of a graphical user interface (of course, it can be not used).
The program is written in Matlab and should work with Matlab 6 (or higher). The ZIP file to download contains two Matlab script:
* a demonstration script (demo);
* the main function (backcor) which can be run with or without a graphical user interface.
Type help backcor in Matlab to get the syntax of the function.
Vincent Mazet (2021). Background correction (https://www.mathworks.com/matlabcentral/fileexchange/27429-background-correction), MATLAB Central File Exchange. Retrieved .
Amazing. Thanks so much!
I'm trying to use this scrip for my signal. But I can not do it because I don't know what I should put for 'n' (wavelength) in input argument.
Any help will be appreciated
Very useful. Thanks!
thanks for this.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!