How do I find the magnitude and phase response of cascaded filters in Simulink?
8 views (last 30 days)
Show older comments
I would like to find the magnitude and phase response of cascaded filters in Simulink.
Accepted Answer
MathWorks Support Team
on 7 Sep 2011
To determine the magnitude and phase response of any linear, time-invariant (LTI) system, you need to get the impulse response of the system in the time domain. This can be done by adding the "Discrete Impulse" block (DSP Sources Library) as the input to your filter system. The output of the system is then defined to be its impulse response.
After you have the impulse response, you want to take the FFT (Transforms Library), and separate the complex output of the FFT into the Magnitude and Phase components by the "Complex to Magnitude-Angle" block (Math Operations Library). You can then configure the outputs accordingly.
An example is attached to this solution.
0 Comments
More Answers (0)
See Also
Categories
Find more on Multirate and Multistage Filters 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!