Which filter should I use to remove the high frequency component from this signal?

26 views (last 30 days)
Hi,
I have a time-varing signal and I would like to figure out what is the best filter (low-pass, band-pass, high-pass) to apply in order to remove the high frequency component. I've plotted the signal vs time, and then applied fft and pwelch seperately on the signal. Here are the results:
It seems that the frequency domain doesn't give me much more information than time domain. Am I missing something here? Any hint/input would be greatly appreciated.

Accepted Answer

Ameer Hamza
Ameer Hamza on 4 May 2020
What about smoothdata(). Experiment with the filter types
x = rand(1,1000)+50;
y = smoothdata(x, 'gaussian', 20);
plot(x);
figure
plot(y);
Unfiltered:
filtered:
  4 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!