isdt

Returns true if an LTI model is in discrete time.

Syntax

BRES = isdt(sys)

Inputs

sys
An LTI model.

Outputs

BRES
A Boolean true if it is discrete.

Examples

For a discrete-time system:
Gz = tf(4.47, [1 -4.43], -1);
isdt(Gz)
ans = 1
For a continuous time system:
Gz = tf(4.47, [1 -4.43]);
isdt(Gz)
ans = 0

Comments

Returns true if an LTI model is in discrete time.