[SciPy-user] impz
Will Woods
will.woods at ynic.york.ac.uk
Wed Apr 16 09:39:42 EDT 2008
Hi,
Is there a direct equivalent of matlab's impz() function in scipy?
In matlab I can do:
[b,a] = butter(4,[1.5/678,15.0/678],'bandpass');
[h,t] = impz(b,a);
plot(t,h)
The scipy.signal.impulse function is the closest I can find, but
b,a = scipy.signal.butter(4,[1.5/678,15.0/678],'bandpass')
T,h = scipy.signal.impulse((b,a))
plot(T,h)
doesn't give the same answer.
Will
More information about the SciPy-User
mailing list