Mercurial > octave-nkf
comparison scripts/control/system/ss.m @ 7137:38fe664f0ef1
[project @ 2007-11-08 20:26:32 by jwe]
author | jwe |
---|---|
date | Thu, 08 Nov 2007 20:26:32 +0000 |
parents | 8aa770b6c5bf |
children |
comparison
equal
deleted
inserted
replaced
7136:59dcf01bb3e3 | 7137:38fe664f0ef1 |
---|---|
212 rows (a), columns (a), rows (b), columns (b), | 212 rows (a), columns (a), rows (b), columns (b), |
213 rows (c), columns (c), rows (d), columns (d)); | 213 rows (c), columns (c), rows (d), columns (d)); |
214 endif | 214 endif |
215 | 215 |
216 ## check for tsam input | 216 ## check for tsam input |
217 if (nargin < 5) tsam = 0; | 217 if (nargin < 5) |
218 elseif (! (is_sample (tsam) || tsam == 0))) | 218 tsam = 0; |
219 elseif (! (is_sample (tsam) || tsam == 0)) | |
219 error ("tsam must be a nonnegative real scalar"); | 220 error ("tsam must be a nonnegative real scalar"); |
220 endif | 221 endif |
221 | 222 |
222 ## check for continuous states | 223 ## check for continuous states |
223 if (nargin < 6 && tsam == 0) | 224 if (nargin < 6 && tsam == 0) |