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

[project @ 2004-09-22 02:50:35 by jwe]
author jwe
date Wed, 22 Sep 2004 02:50:36 +0000
parents 48a39e2b2ab7
children 4c8a2e4e0717
comparison
equal deleted inserted replaced
5015:6d481b6e349e 5016:bdbee5282954
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {} sysgettype (@var{sys}) 20 ## @deftypefn {Function File} {} sysgettype (@var{sys})
21 ## return the initial system type of the system 21 ## return the initial system type of the system
22 ## 22 ##
23 ## @strong{Inputs} 23 ## @strong{Input}
24 ## @var{sys}: system data structure 24 ## @table @var
25 ## @item sys
26 ## System data structure.
27 ## @end table
25 ## 28 ##
26 ## @strong{Outputs} 29 ## @strong{Output}
27 ## @var{systype}: string indicating how the structure was initially 30 ## @table @var
28 ## constructed: 31 ## @item systype
29 ## values: @code{"ss"}, @code{"zp"}, or @code{"tf"} 32 ## String indicating how the structure was initially
33 ## constructed. Values: @code{"ss"}, @code{"zp"}, or @code{"tf"}.
34 ## @end table
30 ## 35 ##
31 ## FIR initialized systems return @code{systype="tf"}. 36 ## @acronym{FIR} initialized systems return @code{systype="tf"}.
32 ## @end deftypefn 37 ## @end deftypefn
33 38
34 function systype = sysgettype (sys) 39 function systype = sysgettype (sys)
35 40
36 if (! isstruct (sys)) 41 if (! isstruct (sys))