type/System
Calling Sequence
Parameters
Description
Examples
type(sys, System)
type(sys, DynamicSystems:−System)
type(sys, System⁡x1,x2,…)
type(sys, DynamicSystems:−System⁡x1,x2,…)
sys
-
expression to check
xk
(optional) name; one of tf, zpk, coeff, ss, de, ae, continuous, discrete
The command type⁡sys,DynamicSystems:−System returns true if the parameter sys is a DynamicSystems[SystemObject], false otherwise.
The command type⁡sys,DynamicSystems:−System⁡x1,…,xn returns true if the parameter sys is a DynamicSystems[SystemObject], and has properties x1 to xn.
If parameter xk is a set of properties then sys has property xk if it has any of the properties in the set. An empty set is always false.
The following properties can be used in the parameter xk:
tf - true if sys is a transfer function representation
zpk - true if sys is a zero-pole-gain representation
coeff - true if sys is a coefficients representation
ss - true if sys is a state-space representation
de - true if sys is a diff-equation representation
ae - true if sys is a algebraic equation representation
continuous - true if sys is a continuous system
discrete - true if sys is a discrete system
The full name for the type, DynamicSystems:-System, is needed unless the short names have been made available using with; see examples.
sys≔DynamicSystems:-NewSystem⁡3⁢πs2:
type⁡sys,DynamicSystems:-System
true
Call with to allow using the short form of the type for the following examples.
with⁡DynamicSystems:
type⁡sys,System
type⁡sys,System⁡ae
false
type⁡sys,System⁡tf
type⁡sys,System⁡ss
type⁡sys,System⁡tf,ss,coeff
type⁡sys,System⁡coeff,ss,tf
type⁡sys,System⁡continuous
type⁡sys,System⁡discrete
type⁡sys,System⁡tf,continuous
type⁡sys,System⁡tf,discrete
type⁡sys,System⁡coeff,ss,tf,continuous
type⁡sys,System⁡∅
See Also
DynamicSystems
DynamicSystems[IsSystem]
DynamicSystems[SystemObject]
DynamicSystems[Verify]
Download Help Document