type/System - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Dynamic Systems : System Object : DynamicSystems/System

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:-NewSystem3Pis2:

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,'System''ae'

false

(3)

typesys,'System''tf'

true

(4)

typesys,'System''ss'

false

(5)

typesys,'System''tf','ss','coeff'

false

(6)

typesys,'System''tf','ss','coeff'

true

(7)

typesys,'System''continuous'

true

(8)

typesys,'System''discrete'

false

(9)

typesys,'System''tf','continuous'

true

(10)

typesys,'System''tf','discrete'

false

(11)

typesys,'System''tf','ss','coeff','continuous'

true

(12)

typesys,'System'

false

(13)

See Also

DynamicSystems

DynamicSystems[IsSystem]

DynamicSystems[SystemObject]

DynamicSystems[Verify]