diff -r 000000000000 -r 0efde00f9229 Z-trans/respol.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Z-trans/respol.py Fri May 27 14:24:59 2011 +0530 @@ -0,0 +1,9 @@ +#!/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]