Background correction
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.
Cite As
Vincent Mazet (2024). Background correction (https://www.mathworks.com/matlabcentral/fileexchange/27429-background-correction), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: BEADS: Baseline Estimation And Denoising with Sparsity, RamanLIGHT
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.