|
From: <kk...@us...> - 2011-02-08 22:13:46
|
Revision: 48
http://python-control.svn.sourceforge.net/python-control/?rev=48&view=rev
Author: kkchen
Date: 2011-02-08 22:13:40 +0000 (Tue, 08 Feb 2011)
Log Message:
-----------
Added pole() to matlab.py.
Kevin K. Chen <kk...@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:13:36 UTC (rev 47)
+++ branches/control-0.4a/src/matlab.py 2011-02-08 22:13:40 UTC (rev 48)
@@ -129,7 +129,7 @@
dcgain - steady-state (D.C.) gain
lti/bandwidth - system bandwidth
lti/norm - h2 and Hinfinity norms of LTI models
- lti/pole - system poles
+* lti/pole - system poles
lti/zero - system (transmission) zeros
lti/order - model order (number of states)
* pzmap - pole-zero map
@@ -316,6 +316,9 @@
return rss_generate(states, inputs, outputs, 'd')
+def pole(sys):
+ return sys.poles()
+
# Frequency response is handled by the system object
def freqresp(H, omega):
"""Return the frequency response for an object H at frequency omega"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|