| Control System Toolbox™ | ![]() |
boo = isct(sys)
boo = isdt(sys)
boo = isct(sys) returns 1 (true) if the LTI model sys is continuous and 0 (false) otherwise. sys is continuous if its sample time is zero, that is, sys.Ts=0.
boo = isdt(sys) returns 1 (true) if sys is discrete and 0 (false) otherwise. Discrete-time LTI models have a nonzero sample time, except for empty models and static gains, which are regarded as either continuous or discrete as long as their sample time is not explicitly set to a nonzero value. Thus both
isct(tf(10)) isdt(tf(10))
are true. However, if you explicitly label a gain as discrete, for example, by typing
g = tf(10,'ts',0.01)
isct(g) now returns false and only isdt(g) is true.
![]() | iopzplot | isempty | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |