Impz function fast algorithm?

Does anybody here know what is the code algorithm behind the impz function? I know it uses the recursive algorithm but how is such implemented in impz that it can get the impulse response of very high N and M orders (numerator and denominator coefficients)? I can make a script that gets the impulse response of a second order lccde but I want to know a GENERAL code that can get the impulse response of any lccdes regardless of their order.

回答(1 个)

I do not see any evidence that impz uses anything recursive.
You can look at the complete code:
type impz

2 个评论

Thank you! Is there any other way to find the impulse response rather than filter and impz? Can I use freqz?
Sorry, I am not not familiar enough with signal processing to know.

请先登录,再进行评论。

类别

Community Treasure Hunt

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

Start Hunting!

Translated by