is_stable [control]
— Function File: is_stable (a, tol, dflg)
— Function File: is_stable (sys, tol)

Returns 1 if the matrix a or the system sys is stable, or 0 if not.

Inputs

tol
is a roundoff parameter, set to 200*eps if omitted.
dflg
Digital system flag (not required for system data structure):
dflg != 0
stable if eig(a) is in the unit circle
dflg == 0
stable if eig(a) is in the open LHP (default)