comparison scripts/control/dcgain.m @ 3385:10f21f7ccc7f

[project @ 1999-12-15 22:28:26 by jwe]
author jwe
date Wed, 15 Dec 1999 22:28:52 +0000
parents 69b167451491
children 1a8e2c0d627a
comparison
equal deleted inserted replaced
3384:6735e4c759a2 3385:10f21f7ccc7f
22 ## an empty matrix is returned. 22 ## an empty matrix is returned.
23 ## The argument @var{tol} is an optional tolerance for the condition 23 ## The argument @var{tol} is an optional tolerance for the condition
24 ## number of @var{A}-Matrix in @var{sys} (default @var{tol} = 1.0e-10) 24 ## number of @var{A}-Matrix in @var{sys} (default @var{tol} = 1.0e-10)
25 ## @end deftypefn 25 ## @end deftypefn
26 26
27 function gm = dcgain(sys, tol) 27 function gm = dcgain (sys, tol)
28 ## Written by Kai P Mueller (mueller@ifr.ing.tu-bs.de) October 1, 1997 28 ## Written by Kai P Mueller (mueller@ifr.ing.tu-bs.de) October 1, 1997
29 29
30 if((nargin < 1) || (nargin > 2) || (nargout > 1)) 30 if((nargin < 1) || (nargin > 2) || (nargout > 1))
31 usage("[gm, ok] = dcgain(sys[, tol])"); 31 usage("[gm, ok] = dcgain(sys[, tol])");
32 endif 32 endif