Code covered by the BSD License  

Highlights from
Background correction

5.0 | 3 ratings Rate this file 58 Downloads (last 30 days) File Size: 4.92 KB File ID: #27429
image thumbnail

Background correction



30 Apr 2010 (Updated )

Compute an estimation of the background (aka baseline) in chemical spectra.

| Watch this File

File Information

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.

MATLAB release MATLAB 6.0 (R12)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
04 Aug 2014 Iman

Iman (view profile)


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


Comment only
10 Feb 2014 Laszlo

Laszlo (view profile)

Very useful. Thanks!

03 Dec 2013 Kevin Hellemans  
20 Feb 2013 Sanjay Manohar  
08 Oct 2011 hooman1988

thanks for this.

Comment only
30 Apr 2010

Add a link to my webpage.

12 Nov 2012

Fix bug concerning the sorting of data.

16 Nov 2012

Add a comment in the help.

20 Feb 2013

Update the link to my webpage.

Contact us