comparison scripts/control/system/sys2tf.m @ 5016:bdbee5282954

[project @ 2004-09-22 02:50:35 by jwe]
author jwe
date Wed, 22 Sep 2004 02:50:36 +0000
parents b8105302cfe8
children 4c8a2e4e0717
comparison
equal deleted inserted replaced
5015:6d481b6e349e 5016:bdbee5282954
16 ## along with Octave; see the file COPYING. If not, write to the Free 16 ## along with Octave; see the file COPYING. If not, write to the Free
17 ## Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. 17 ## Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {[@var{num}, @var{den}, @var{tsam}, @var{inname}, @var{outname}] =} sys2tf (@var{sys}) 20 ## @deftypefn {Function File} {[@var{num}, @var{den}, @var{tsam}, @var{inname}, @var{outname}] =} sys2tf (@var{sys})
21 ## Extract transfer function data from a system data structure 21 ## Extract transfer function data from a system data structure.
22 ## 22 ##
23 ## See tf for parameter descriptions. 23 ## See @command{tf} for parameter descriptions.
24 ## 24 ##
25 ## @strong{Example} 25 ## @strong{Example}
26 ## @example 26 ## @example
27 ## octave:1> sys=ss([1 -2; -1.1,-2.1],[0;1],[1 1]); 27 ## octave:1> sys=ss([1 -2; -1.1,-2.1],[0;1],[1 1]);
28 ## octave:2> [num,den] = sys2tf(sys) 28 ## octave:2> [num,den] = sys2tf(sys)