Clear Filters
Clear Filters

Impz function fast algorithm?

2 views (last 30 days)
Riven Yvet
Riven Yvet on 1 Dec 2016
Commented: Walter Roberson on 2 Dec 2016
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)

Walter Roberson
Walter Roberson on 2 Dec 2016
I do not see any evidence that impz uses anything recursive.
You can look at the complete code:
type impz
  2 Comments
Riven Yvet
Riven Yvet on 2 Dec 2016
Thank you! Is there any other way to find the impulse response rather than filter and impz? Can I use freqz?
Walter Roberson
Walter Roberson on 2 Dec 2016
Sorry, I am not not familiar enough with signal processing to know.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!