DynamicSystems
IsSystem
verify the content of a system object
Calling Sequence
Parameters
Description
Examples
IsSystem(sys)
sys
-
System; system object to verify
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].
withDynamicSystems:
sys1≔NewSystem:
PrintSystemsys1
Algebraic Equationcontinuous1 output(s); 1 input(s)inputvariable=utoutputvariable=ytae=yt=ut
IsSystemsys1
true
sys2≔NewSystemss3+5s2+7s+6:
Modify the tf member of sys2 to make it nonrational polynomial (in s).
sys2:-tf≔expss3+5s2+7s+6:
PrintSystemsys2
Transfer Functioncontinuous1 output(s); 1 input(s)inputvariable=u1soutputvariable=y1stf1,1=ⅇss3+5s2+7s+6
IsSystemsys2
tf_mimo_z≔Matrix1z2,z2z3+5z2+7z+6,1z,cz2+az+b:
sys3≔NewSystemtf_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
IsSystemsys3
See Also
DynamicSystems[Verify]
Download Help Document