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.

Answers (1)

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

2 Comments

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.

Sign in to comment.

Asked:

on 1 Dec 2016

Commented:

on 2 Dec 2016

Community Treasure Hunt

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

Start Hunting!