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!