Code for Trapezoidal FIlter?
Show older comments
Hi! We are working on a digital trapezoidal filter,and somehow,we are unable to get the actual output response.The only thing we can come up with is to construct a trapezoidal shape, and then convoluted the result with the input signal,however it doesn't display what we need.Can anyone share the code for a trapezoidal filter using its coefficients?
1 Comment
Star Strider
on 7 Jul 2017
I would use the firls or similar function to design the filter. To see the response in the frequency domain, use the freqz function. Use the filtfilt function to do the actual filtering of your signal.
Answers (0)
Categories
Find more on Digital Filter Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!