Baseline Correction of IR Spectra
67 views (last 30 days)
Show older comments
What's the MATLAB function for baseline correction of IR spectra? I have gone through the Signal Processing Toolbox documentation, but I cannot find the specific function. Below is an image of what I would like to accomplish.
0 Comments
Accepted Answer
Star Strider
on 12 Apr 2020
It is not possible to provide specific code without your data.
See for example: Raman spectra background removal and Shifting Baselines of Raman Spectra for examples.
4 Comments
More Answers (1)
masoud sistaninejad
on 26 Jan 2021
Edited: masoud sistaninejad
on 3 Feb 2021
data = your data
order = 2 %order must be greater than 0
out = detrend(data,order)
0 Comments
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!