How to design a high pass filter and test the filter by a signal

22 views (last 30 days)
Sampling freq= 8kHz Stopband: 0-1kHz Passband: 1.5-4 kHz; Hamming Window
Input signal:3cos(1000*pi*t)+2cos(6000*pi*t)

Answers (1)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 30 Jun 2015
Type fdatool in the MATLAB command window.
It opens the Filter Designa and Analysis window, where you can design your filter.
Then create a function from it, and pass the signal in and get the output.
It's fairly easy, just play with fdatool GUI a little.
Good Luck!

Community Treasure Hunt

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

Start Hunting!