comparison scripts/control/system/tf.m @ 6046:34f96dd5441b

[project @ 2006-10-10 16:10:25 by jwe]
author jwe
date Tue, 10 Oct 2006 16:10:31 +0000
parents 4c8a2e4e0717
children 93c65f2a5668
comparison
equal deleted inserted replaced
6045:421d8a903df7 6046:34f96dd5441b
60 60
61 function outsys = tf (num, den, tsam, inname, outname) 61 function outsys = tf (num, den, tsam, inname, outname)
62 62
63 ## Test for the correct number of input arguments 63 ## Test for the correct number of input arguments
64 if ((nargin < 2) || (nargin > 5)) 64 if ((nargin < 2) || (nargin > 5))
65 usage ("outsys = tf (num, den [, tsam, inname, outname])"); 65 print_usage ();
66 return 66 return
67 endif 67 endif
68 68
69 ## check input format 69 ## check input format
70 if( ! ( (isvector(num) || isscalar(num)) && ... 70 if( ! ( (isvector(num) || isscalar(num)) && ...