计算DWT系数以去噪eeg信号

时间:2014-01-03 13:59:39

标签: signal-processing dwt wavelet-transform

现在,我想要去噪EEG信号,我有一个EEG信号(2048个系数),运行Daubechies4后,我也获得了2048个系数,我想知道如何确定细节和近似系数,daubechies4是4 -level daubechies或1-level with daubechies4 funcion?非常感谢。有任何教程可以帮助我吗?

1 个答案:

答案 0 :(得分:0)

您可以通过以下方式执行此操作

% Do the Wavelet Transform
[c, l] = wavedec(data, wavelet_level, wavelet_name); % data is a single channel eeg data
% Get the detail and approximate coefficients at each level
for k = 1:wavelet_level
    det_coeff = detcoef(c,l,k); % detail coefficients at level k
    app_coeff = appcoef(c,l,wavelet_name,k) % approximate coefficients at level k
end

查看以下网站

http://www.mathworks.in/help/wavelet/ref/appcoef.html http://www.mathworks.in/help/wavelet/ref/detcoef.html