Proportional-Derivative Controller

    
Model the position of a moving body with 1 kg mass and use a sampled proportional-derivative (PD) controller to keep the position at a constant reference value:
In[57]:=
Click for copyable input
In[60]:=
Click for copyable input
In[61]:=
Click for copyable input
Out[61]=
New to Mathematica? Find your learning path »
Have a question? Ask support »