How to do a baseline correction
106 views (last 30 days)
I have an experimental data as shown in the figure, I need to do a baseline correction, in a way that the black line that I drew in the picture becomes horizental. Can any of you help me to do it in MATLAB?
Rik on 25 Sep 2019
You mean like a simple subtraction?
P_fun=@(t) 0.1*(t-3).^2+sin(t/2)-0.85 +bias(t);