Z-trans/respol.py
author Puneeth Chaganti <punchagan@fossee.in>
Fri, 27 May 2011 14:24:59 +0530
changeset 0 0efde00f9229
permissions -rw-r--r--
Initial commit.

#!/usr/bin/python
## 4.5

from scipy import signal

def respol(num,den):
    if num[-1] == 0:
        num = num[:-1]
    return signal.residuez(num,den)[:-1]