comparison scripts/control/is_siso.m @ 3236:98e15955107e

[project @ 1999-03-05 07:17:10 by jwe]
author jwe
date Fri, 05 Mar 1999 07:19:35 +0000
parents 28aba52a2368
children 6dd06d525de6
comparison
equal deleted inserted replaced
3235:41602f25d19f 3236:98e15955107e
19 function SISO = is_siso(sys) 19 function SISO = is_siso(sys)
20 # function SISO = is_siso(sys) 20 # function SISO = is_siso(sys)
21 # return nonzero if the system sys is single-input, single-output. 21 # return nonzero if the system sys is single-input, single-output.
22 22
23 # a s hodel July 1996, 1998 23 # a s hodel July 1996, 1998
24 # $Revision: 2.0.0.2 $
25 # SYS_INTERNAL accesses members of system structure
26 24
27 if(nargin != 1) 25 if(nargin != 1)
28 usage("SISO = is_siso(sys)"); 26 usage("SISO = is_siso(sys)");
29 elseif( !is_struct(sys)) 27 elseif( !is_struct(sys))
30 error("input must be a system structure (see ss2sys, tf2sys, zp2sys)"); 28 error("input must be a system structure (see ss2sys, tf2sys, zp2sys)");