How can i decompose my signal into five parts using daubechies wavelet(db4) ?
2 次查看(过去 30 天)
显示 更早的评论
I have an EEG signal which i had implemented in matlab and then added noise to it. Now i need to filter the noise out using wavelet transform. Can any one please help me ? This is my code:
- fs = 512
- T = 1/fs;
- N =length(EEGsig); ls = size(EEGsig);
- tx =[0:length(EEGsig)-1]/fs;
- fx = fs*(0:N/2-1)/N;
- x= EEGsig;
- sd = 0.1;
- normal_noise = sd*randn(1, N);
- noisy_EEGsig = x + normal_noise;
- figure();
- subplot(4,1,1);
- grid on;
- plot(tx, x);
- xlabel('Time [s]');
- ylabel('Amplitude');
- title('Original signal');
- subplot(4,1,2);
- grid on;
- plot(tx,normal_noise);
- xlabel('Time [s]');
- ylabel('Amplitude');
- title('Noise');
- subplot(4,1,3);
- grid on;
- plot(tx, noisy_EEGsig);
- xlabel('Time [s]');
- ylabel('Amplitude');
- title('Original signal + Noise');
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Biomedical Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!