A list,
Procedure 1 Open the wavelet toolbox and enter wavemenu in the MATLAB command line window. Select Wavelet 1-D for discrete wavelet 1-D Signal processing. Then choose the mother wavelet, and the one that matches the EEG signal is THE DB wavelet, choose DB4 wavelet, choose the decomposition layer 6, and click the analysis button 5. Click de-noise again. 6. Select the de-noise method, set threshold parameters, and click de-noise button 7. Click the button to view noise reduction signal 8. View the comparison of original signal and noise reduction signal 9. Save the signal file. 11 View the signal after noise reduction, load the signal according to step 2 above, and import the signal
Ii. Source code
%% draw the waveform before and after wavelet transform1%by20210405 close all; clear; clc % FilePath='SData.mat';
% EEGdata=importdata(FilePath);
%%
load('C1T1.mat');
plot(C1T1)
hold on
load('C1T2.mat')
plot(C1T2)
hold on
load('C1T1Denoise.mat')
plot(C1T1Denoise,'LineWidth'.2)
hold on
Copy the code
3. Operation results
Fourth, note
Version: 2014 a