From: <kk...@us...> - 2011-02-08 22:15:52
|
Revision: 74 http://python-control.svn.sourceforge.net/python-control/?rev=74&view=rev Author: kkchen Date: 2011-02-08 22:15:45 +0000 (Tue, 08 Feb 2011) Log Message: ----------- Modified lsim and initial to use returnScipySignalLti... all functions using scipy.signal.lti still need modification for their arguments list and MIMO Steven Brunton <sbr...@pr...> Modified Paths: -------------- branches/control-0.4a/src/matlab.py Modified: branches/control-0.4a/src/matlab.py =================================================================== --- branches/control-0.4a/src/matlab.py 2011-02-08 22:15:42 UTC (rev 73) +++ branches/control-0.4a/src/matlab.py 2011-02-08 22:15:45 UTC (rev 74) @@ -459,6 +459,10 @@ yout response of the system xout time evolution of the state vector """ + sys = args[0] + ltiobjs = sys.returnScipySignalLti() + ltiobj = ltiobjs[0][0] + return sp.signal.lsim2(*args, **keywords) #! Redefine step to use lsim2 @@ -510,6 +514,10 @@ T time values of the output yout response of the system """ + sys = args[0] + ltiobjs = sys.returnScipySignalLti() + ltiobj = ltiobjs[0][0] + return sp.signal.initial(*args, **keywords) # Redefine impulse to use initial() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |