nwagner at iam.uni-stuttgart.de
Tue Sep 12 04:17:47 CDT 2006
Lars Friedrich wrote:
>> Ryan Krauss wrote:
>>> I thought about this over the weekend. I was wrong about the matrices
>>> not being correct. The A matrix really is just 0. So, passing in the
>>> numerator and denominator polynomials does correctly create a system,
>>> you just can't take its step response.
> shouldn't signal.lsim2 be able to handle such systems? I tried the
> #*************** start shell session
> from scipy import signal
> from numpy import *
> signal.lsim2(sys1, ones(10), arange(10))
> Traceback (most recent call last):
> File "<input>", line 1, in ?
> File "/usr/lib/python2.4/site-packages/scipy/signal/ltisys.py", line
> 333, in lsim2
> ufunc = interpolate.linear_1d(T, U, axis=0, bounds_error=0,
> AttributeError: 'module' object has no attribute 'linear_1d'
> #***************** end shell session
> What about this error? I get the same errror with
> SciPy-user mailing list
> SciPy-user at scipy.org
BTW, an "entry" for lsim2 is missing
help (signal) yields ...
lti -- linear time invariant system object.
lsim -- continuous-time simulation of output to linear system.
impulse -- impulse response of linear, time-invariant (LTI) system.
step -- step response of continous-time LTI system.
More information about the SciPy-user