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개)

Walter Roberson
Walter Roberson 2016년 12월 2일

0 개 추천

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

댓글 수: 2

Riven Yvet
Riven Yvet 2016년 12월 2일
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 2016년 12월 2일
Sorry, I am not not familiar enough with signal processing to know.

댓글을 달려면 로그인하십시오.

카테고리

질문:

2016년 12월 1일

댓글:

2016년 12월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by