Mercurial > hg > octave-nkf
diff scripts/control/system/tf2ss.m @ 5016:bdbee5282954
[project @ 2004-09-22 02:50:35 by jwe]
author | jwe |
---|---|
date | Wed, 22 Sep 2004 02:50:36 +0000 |
parents | 22bd65326ec1 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/scripts/control/system/tf2ss.m +++ b/scripts/control/system/tf2ss.m @@ -17,29 +17,41 @@ ## Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. ## -*- texinfo -*- -## @deftypefn {Function File} {} tf2ss (@var{inputs}) -## @format +## @deftypefn {Function File} {[@var{a}, @var{b}, @var{c}, @var{d}] =} tf2ss (@var{num}, @var{den}) ## Conversion from tranfer function to state-space. -## The state space system +## The state space system: +## @iftex +## @tex +## $$ \dot x = Ax + Bu $$ +## $$ y = Cx + Du $$ +## @end tex +## @end iftex +## @ifinfo +## @example ## . ## x = Ax + Bu ## y = Cx + Du -## -## is obtained from a transfer function -## +## @end example +## @end ifinfo +## is obtained from a transfer function: +## @iftex +## @tex +## $$ G(s) = { { \rm num }(s) \over { \rm den }(s) } $$ +## @end tex +## @end iftex +## @ifinfo +## @example ## num(s) ## G(s)=------- ## den(s) +## @end example +## @end ifinfo ## -## via the function call [a,b,c,d] = tf2ss(num,den). -## The vector 'den' must contain only one row, whereas the vector 'num' -## may contain as many rows as there are outputs of the system 'y'. -## The state space system matrices obtained from this function will be -## in controllable canonical form as described in "Modern Control Theory", -## [Brogan, 1991]. -## -## -## @end format +## The vector @var{den} must contain only one row, whereas the vector +## @var{num} may contain as many rows as there are outputs @var{y} of +## the system. The state space system matrices obtained from this function +## will be in controllable canonical form as described in @cite{Modern Control +## Theory}, (Brogan, 1991). ## @end deftypefn ## Author: R. Bruce Tenison <btenison@eng.auburn.edu>