Baseline Correction of IR Spectra

67 views (last 30 days)
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.

Accepted Answer

Star Strider
Star Strider on 12 Apr 2020
It is not possible to provide specific code without your data.
  4 Comments
smsinks
smsinks on 12 Apr 2020
Thanks Star Strider
Star Strider
Star Strider on 12 Apr 2020
As always, my pleasure!

Sign in to comment.

More Answers (1)

masoud sistaninejad
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!