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].
with( DynamicSystems ):
sys1 := NewSystem():
PrintSystem(sys1);
Algebraic Equationcontinuous1 output(s); 1 input(s)inputvariable=u⁡toutputvariable=y⁡tae=y⁡t=u⁡t
IsSystem(sys1);
true
sys2 := NewSystem(s/(s^3+5*s^2+7*s+6)):
Modify the tf member of sys2 to make it nonrational polynomial (in s).
sys2:-tf := <<exp(s)/(s^3+5*s^2+7*s+6)>>:
PrintSystem(sys2);
Transfer Functioncontinuous1 output(s); 1 input(s)inputvariable=u1⁡soutputvariable=y1⁡stf1,1=ⅇss3+5⁢s2+7⁢s+6
IsSystem(sys2);
tf_mimo_z := Matrix([[1/z^2, z^2/(z^3+5*z^2+7*z+6)], [1/z , c/(z^2+a*z+b)]]):
sys3 := NewSystem(tf_mimo_z, discrete, sampletime=0.001, systemname="Sample discrete MIMO system"):
PrintSystem(sys3);
Transfer Functiondiscrete; sampletime = .1e-2systemname=Sample discrete MIMO system2 output(s); 2 input(s)inputvariable=u1⁡z,u2⁡zoutputvariable=y1⁡z,y2⁡ztf1,1=1z2tf2,1=1ztf1,2=z2z3+5⁢z2+7⁢z+6tf2,2=cz2+a⁢z+b
IsSystem(sys3);
See Also
DynamicSystems[Verify]
Download Help Document
What kind of issue would you like to report? (Optional)