[SciPy-user] impz

Will Woods will.woods@ynic.york.ac...
Wed Apr 16 08:39:42 CDT 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