New in Wolfram
Mathematica
8: Integrated Control Systems Design
◄
previous
|
next
►
Application Areas
Simulate the Response of State-Space or Transfer-Function Models
The step responses of a second-order system for different values of damping.
In[1]:=
X
tf[\[Omega]_, \[Zeta]_] := TransferFunctionModel[\[Omega]^2/(s^2 + 2 \[Zeta] \[Omega] s + \[Omega]^2), s]
In[2]:=
X
OutputResponse[tf[1, 1/2], UnitStep[t], t]
Out[2]=
In[3]:=
X
Plot[Evaluate@ Table[Tooltip[ OutputResponse[tf[1, \[Xi]], UnitStep[t], t], \[Xi]], {\[Xi], Range[0, 1.4, 0.2]}], {t, 0, 15}, Frame -> True, PlotRange -> All, ImageSize -> 300, GridLines -> Automatic]
Out[3]=