kiya
Newbie level 2
remove dc component
i just read some code and don't quite understand its theory.
i am new bie in DSP area. that is
anybody can explain for me about the sencond sentence? what does it used for? and what's the theory it is used?
thanks a lot!!
i just read some code and don't quite understand its theory.
i am new bie in DSP area. that is
Code:
% force xx as a column vector
xx = xx(:);
% remove dc component
xx = conv(xx,ones(3,1))/3;
xx = xx-mean(xx);
anybody can explain for me about the sencond sentence? what does it used for? and what's the theory it is used?
thanks a lot!!