System type - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


type/System

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(sys, System)

type(sys, DynamicSystems:System)

type(sys, Systemx1,x2,)

type(sys, DynamicSystems:Systemx1,x2,)

Parameters

sys

-

expression to check

xk

-

(optional) name; one of tf, zpk, coeff, ss, de, ae, continuous, discrete

Description

• 

The command typesys,DynamicSystems:System returns true if the parameter sys is a DynamicSystems[SystemObject], false otherwise.

• 

The command typesys,DynamicSystems:Systemx1,,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.

Examples

sysDynamicSystems:-NewSystem3πs2:

typesys,DynamicSystems:-System

true

(1)

Call with to allow using the short form of the type for the following examples.

withDynamicSystems:

typesys,System

true

(2)

typesys,Systemae

false

(3)

typesys,Systemtf

true

(4)

typesys,Systemss

false

(5)

typesys,Systemtf,ss,coeff

false

(6)

typesys,Systemcoeff,ss,tf

true

(7)

typesys,Systemcontinuous

true

(8)

typesys,Systemdiscrete

false

(9)

typesys,Systemtf,continuous

true

(10)

typesys,Systemtf,discrete

false

(11)

typesys,Systemcoeff,ss,tf,continuous

true

(12)

typesys,System

false

(13)

See Also

DynamicSystems

DynamicSystems[IsSystem]

DynamicSystems[SystemObject]

DynamicSystems[Verify]