Message Boards Message Boards

1
|
6426 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Unit step response

Hi If I have this transfer function :

sys1=(-1.27813*10^-6-25.4s)/(-5.008-25.1026s-50325s^2-s^3)*1/s

¿How can I find the unit step response?

I tried as follows :

y1 = OutputResponse[TransferFunctionModel[sys1, s], UnitStep, {t,0,5}]
  ListPlot[y1,{t,0,5}]

I find this case in OGATA's book : Solving problems in Control Engineering with Matlab

POSTED BY: LUIS ARBOLEDA
3 Replies
Posted 3 years ago

Hi Luis,

You need to use UnitStep[t], not UnitStep

y1 = OutputResponse[TransferFunctionModel[sys1, s], UnitStep[t], {t, 0, 5}]
Plot[y1, {t, 0, 5}]

I think you need to increase the range of t to see anything interesting.

y1 = OutputResponse[TransferFunctionModel[sys1, s], UnitStep[t], {t, 0, 10000}]
Plot[y1, {t, 0, 10000}]

enter image description here

POSTED BY: Rohit Namjoshi

Thank you Rohit.

Great.

POSTED BY: LUIS ARBOLEDA
Posted 3 years ago

Mathematica is better than Matlab Symbolic toolbox for nicely formatted equations.

POSTED BY: bogd timo
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract