MATLAB Answers

Denoise an eog signal

18 views (last 30 days)
Mahsa Rm
Mahsa Rm on 31 Jul 2021
Commented: Star Strider on 31 Jul 2021
I have a noisy eog signal and I want to clear it but I'm not familiar with different filters. I've tried wavelet denoising toolbox but i couldn't see much change in my signal. I've attached the mat file.
any help will be appreciated.
  2 Comments
Star Strider
Star Strider on 31 Jul 2021
I don't know what EOG is.
Electrooculogram.

Sign in to comment.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 31 Jul 2021
There are a few different filters to test with your data, e.g. data smooting, moving average, Savitzky-Golay, etc. You can test these ones by tuning and play with others, such as low-pass, band-pass filters.
figure
subplot(211)
plot(y1,'b')
y1_s=smoothdata(y1, 'sgolay');
hold on
plot(y1_s, 'r')
subplot(212)
plot(y2)
y2_s=smoothdata(y2, 'movmean', 50);
hold on
plot(y2_s)
figure
subplot(211)
plot(y3)
y3_s=smoothdata(y3, 'gaussian', 35);
hold on
plot(y3_s)
subplot(212)
plot(y4)
y4_s=smoothdata(y4, 'rlowess');
hold on
plot(y4_s)

Community Treasure Hunt

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

Start Hunting!

Translated by