Skip to Main Content Skip to Search
Product Documentation

isdt - Determine if dynamic system model is in discrete time

Syntax

bool = isdt(sys)

Description

bool = isdt(sys) returns a logical value of 1 (true) if the dynamic system model sys is a discrete-time model. The function returns a logical value of 0 (false) otherwise.

Input Arguments

sys

Dynamic system model or array of such models.

Output Arguments

bool

Logical value indicating whether sys is a discrete-time model.

bool = 1 (true) if sys is a discrete-time model (sys.Ts ≠ 0). If sys is a continuous-time model, bool = 0 (false).

For a static gain, both isct and isdt return true unless you explicitly set the sampling time to a nonzero value. If you do so, isdt returns true and isct returns false.

For arrays of models, bool is true if the models in the array are discrete.

See Also

isct | isstable

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS