Hi,
I want to perform a baseline correction on my data (a simple broad Cu(II) single peak). I see in the documentation the syntax is:
CorrSpec = basecorr(Spec,Dim,Ord)
[CorrSpec,BLine] = basecorr(Spec,Dim,Ord)
I am a novice at Easyspin/MatLab so figuring out how to use this on my data is giving me some errors as I can't just copy-paste this.
My code is:
clear, clc, clf
[B_G,spc] = eprload('2228B C4 macrocycle 1 molp in Spec KBr lightly ground');
B_mT = B_G/10; % convert field values from Gauss to mT
data = peaks(100)
cdata = basecorr(data,[],[3 3])
plot(B_G,spc);
%%
Nothing is really happening to my data visibly and I get
Warning: Rank deficient, rank = 15, tol = 3.284198e+01.
Thanks!