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.

 Akzeptierte Antwort

Star Strider
Star Strider am 12 Apr. 2020

0 Stimmen

It is not possible to provide specific code without your data.

4 Kommentare

smsinks
smsinks am 12 Apr. 2020
Bearbeitet: smsinks am 12 Apr. 2020
Hi Star,
Thanks for the response.
Apologies for not being clear.
I am looking for a MATLAB built-in function. So I can also read the documentation and the math behind the methods. Also, I was optimistic that the built-in function would have more options (or input parameters) that offer added flexibility and fine-tuning capabilities.
I have previously tried the methods at the links that you have provided, but they seem to have some limitations when it comes to processing multiple IR spectra.
Cheers.
Star Strider
Star Strider am 12 Apr. 2020
I am looking for a MATLAB built-in function.
There isn’t one.
Each spectrum has to be analysed and processed individually.
.
smsinks
smsinks am 12 Apr. 2020
Thanks Star Strider
Star Strider
Star Strider am 12 Apr. 2020
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

masoud sistaninejad
masoud sistaninejad am 26 Jan. 2021
Bearbeitet: masoud sistaninejad am 3 Feb. 2021

0 Stimmen

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!

Translated by