I have the following transfer function:
$$H(z) =\frac{\alpha z}{(z-(1-\alpha))}$$
I'd like to find zeros and poles of it by scipy.signal.tf2zpk
:
from scipy.signal import tf2zpk
alpha=0.4
(zeros, poles, gain) = tf2zpk([0, alpha], [1, alpha-1])
it is clear that transfer function has zero at z=0
, but why tf2zpk
doesn't output it?