how to filter a signal

2 views (last 30 days)
tyna
tyna on 24 Nov 2018
Edited: KALYAN ACHARJYA on 24 Nov 2018
Hi, I have a signal and I need to suppress the 50 [Hz] frequency components and keep the components up to 30 [Hz]. My fs =200Hz.
I do not know how or what to do. I welcome any advice. Thank you

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 24 Nov 2018
Edited: KALYAN ACHARJYA on 24 Nov 2018
Read here, you will get the answer. I expect some efforts from your side, lerning by doing is best way.
Case 1: if you want to supress all frequency more than 50Hz, its Low pass filter.
How ti use it, read here
Case 2: If you want specific, supress the 50 Hz only (It can been done through Notch filter)
[b,a] = iircomb(cut_freq,input_signal,'notch');
Still, unable to solve it, let me know.

Community Treasure Hunt

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

Start Hunting!