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

Online Help

All Products    Maple    MapleSim


type/System

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(sys, System)

type(sys, DynamicSystems:−System)

type(sys, System⁡x1,x2,…)

type(sys, DynamicSystems:−System⁡x1,x2,…)

Parameters

sys

-

expression to check

xk

-

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

Description

• 

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.

Examples

> 

sys≔DynamicSystems:-NewSystem⁡3⁢πs2:

> 

type⁡sys,DynamicSystems:-System

true

(1)

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

> 

with⁡DynamicSystems:

> 

type⁡sys,System

true

(2)
> 

type⁡sys,System⁡ae

false

(3)
> 

type⁡sys,System⁡tf

true

(4)
> 

type⁡sys,System⁡ss

false

(5)
> 

type⁡sys,System⁡tf,ss,coeff

false

(6)
> 

type⁡sys,System⁡coeff,ss,tf

true

(7)
> 

type⁡sys,System⁡continuous

true

(8)
> 

type⁡sys,System⁡discrete

false

(9)
> 

type⁡sys,System⁡tf,continuous

true

(10)
> 

type⁡sys,System⁡tf,discrete

false

(11)
> 

type⁡sys,System⁡coeff,ss,tf,continuous

true

(12)
> 

type⁡sys,System⁡∅

false

(13)

See Also

DynamicSystems

DynamicSystems[IsSystem]

DynamicSystems[SystemObject]

DynamicSystems[Verify]