Hello , plz help how to filter a data before plotting
1 次查看(过去 30 天)
显示 更早的评论
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 ?
0 个评论
回答(1 个)
Star Strider
2016-5-1
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?
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!