Close
Close window
IsSystem - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

DynamicSystems

IsSystem

verify the content of a system object

Calling Sequence

IsSystem(sys)

Parameters

sys

-

System; system object to verify

Description

The IsSystem command checks the validity of the system object.

If sys is a valid system object, return true. If sys contains errors, return false.

To determine the problem with a system that fails, use DynamicSystems[Verify] .

Examples

>

withDynamicSystems:

>

sys1NewSystem:

>

PrintSystemsys1

Algebraic Equationcontinuous1 output(s); 1 input(s)inputvariable=utoutputvariable=ytae=yt=ut

(1)
>

IsSystemsys1

true

(2)
>

sys2NewSystemss3+5s2+7s+6:

Modify the tf member of sys2 to make it nonrational polynomial (in s).

>

sys2:-tfexpss3+5s2+7s+6:

>

PrintSystemsys2

Transfer Functioncontinuous1 output(s); 1 input(s)inputvariable=u1soutputvariable=y1stf1,1=ⅇss3+5s2+7s+6

(3)
>

IsSystemsys2

true

(4)
>

tf_mimo_zMatrix1z2,z2z3+5z2+7z+6,1z,cz2+az+b:

>

sys3NewSystemtf_mimo_z,discrete,sampletime=0.001,systemname=Sample discrete MIMO system:

>

PrintSystemsys3

Transfer Functiondiscrete; sampletime = .1e-2systemname=Sample discrete MIMO system2 output(s); 2 input(s)inputvariable=u1z,u2zoutputvariable=y1z,y2ztf1,1=1z2tf2,1=1ztf1,2=z2z3+5z2+7z+6tf2,2=cz2+az+b

(5)
>

IsSystemsys3

true

(6)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /