From: <mur...@us...> - 2010-06-11 04:51:01
|
Revision: 24 http://python-control.svn.sourceforge.net/python-control/?rev=24&view=rev Author: murrayrm Date: 2010-06-11 04:50:54 +0000 (Fri, 11 Jun 2010) Log Message: ----------- minor code cleanup Modified Paths: -------------- trunk/examples/pvtol-lqr.py trunk/examples/pvtol-nested.py trunk/src/freqplot.py Modified: trunk/examples/pvtol-lqr.py =================================================================== --- trunk/examples/pvtol-lqr.py 2010-06-07 05:45:44 UTC (rev 23) +++ trunk/examples/pvtol-lqr.py 2010-06-11 04:50:54 UTC (rev 24) @@ -112,8 +112,6 @@ # Step response for the first input H1ax = ss(Ax - Bx*K1a[0,lat], Bx*K1a[0,lat]*xd[lat,:], Cx, Dx); (Tx, Yx) = step(H1ax, T=linspace(0,10,100)); -print Tx.shape -print Yx.shape # Step response for the second input H1ay = ss(Ay - By*K1a[1,alt], By*K1a[1,alt]*yd[alt,:], Cy, Dy); Modified: trunk/examples/pvtol-nested.py =================================================================== --- trunk/examples/pvtol-nested.py 2010-06-07 05:45:44 UTC (rev 23) +++ trunk/examples/pvtol-nested.py 2010-06-11 04:50:54 UTC (rev 24) @@ -144,5 +144,5 @@ # Gang of Four figure(11); clf(); -gangof4(Hi*Po, Co, linspace(-2, 3)); +gangof4(Hi*Po, Co); Modified: trunk/src/freqplot.py =================================================================== --- trunk/src/freqplot.py 2010-06-07 05:45:44 UTC (rev 23) +++ trunk/src/freqplot.py 2010-06-11 04:50:54 UTC (rev 24) @@ -52,7 +52,7 @@ Usage ===== - (magh, phaseh) = bode(sys, omega=None, dB=False, Hz=False) + (magh, phaseh) = bode(syslist, omega=None, dB=False, Hz=False) Plots a Bode plot for the system over a (optional) frequency range. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |