MATLAB Answers

0

Mathematics of the bandpass function

Asked by Mikkel Schelde on 11 Jun 2019
Latest activity Answered by Star Strider
on 11 Jun 2019
How can I see the math behnd the bandpass function? Is it butterworth or what is the formula used? The help function dosn't seem to help. I would like to know the background mathematics behind the function.

  0 Comments

Sign in to comment.

2 Answers

Answer by Jan
on 11 Jun 2019

The documentation explains:
bandpass uses a minimum-order filter with a stopband attenuation of 60 dB and compensates for the delay introduced by the filter.
Did you use the debugger already to examine, what is calculated? Set a breakpoint in the first line of bandpass.m and step through the code line by line. This should reveal all details.

  0 Comments

Sign in to comment.


Answer by Star Strider
on 11 Jun 2019

When I used it, the bandpass function designed an efficient elliptical filter. You can simulate it with the ellipord, ellip, zp2sos, and filtfilt functions.

  0 Comments

Sign in to comment.