필터 지우기
필터 지우기

Code for multivariate denoising in wavelet toolbox

조회 수: 1 (최근 30일)
Ashley Stephenson
Ashley Stephenson 2016년 7월 5일
Hello, I am trying to process EMG signals using the multivariate denoising tool in the wavelet toolbox. I have been unable to export code from the GUI, as this doesn't appear to be an option for this tool, but I would like to duplicate the denoising process in my code in order to process many signals without having to use the GUI for each one. I have provided the relevant section of my code below, as well as a screen shot of the settings I would like to implement as shown in the toolbox.
for channelNum=1:1:8
x = f.emgData(:,channelNum);
% Set the de-noising method parameters.
level = 4;
wname = 'db6';
tptr = 'minimaxi';
sorh = 's';
% Set the PCA parameters
npc_app = 1;
npc_fin = 1;
% Perform multivariate de-noising.
[x_den, npc, nestco] = wmulden(x, level, wname, sym, npc_app, ...
npc_fin, tptr, sorh);
% Add filtered signals to filtered matrix
filtered(:,channelNum) = x_den;
I am essentially trying to apply the settings shown below. When using the parameters above, I do not obtain the same results (filtered signal) as those generated by the GUI, and I'm not sure what I am doing differently. If anyone could help me with this I would appreciate it. Thanks.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Denoising and Compression에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by