Clear Filters
Clear Filters

Hello , plz help how to filter a data before plotting

1 view (last 30 days)
I have a data that i have to analyse it it looks like in the image I'm gonna upload but my professor is asking me to filter it so he could see just one line is it possible ?

Answers (1)

Star Strider
Star Strider on 1 May 2016
It is.
First, take the Fourier transform of your signal to see the frequency components. See the documentation for fft for guidance.
Second, you need to design your filter pass-band and stop-band frequencies using the information from your Fourier transform, and then implement your filter. You need the Signal Processing Toolbox to do it. There are several ways to design filters. My filter design procedure is here: How to design a lowpass filter for ocean wave data in Matlab?

Community Treasure Hunt

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

Start Hunting!