Message Boards Message Boards

GROUPS:

Unit step response

Posted 1 year ago
2327 Views
|
3 Replies
|
2 Total Likes
|

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

3 Replies
Posted 1 year ago

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

Thank you Rohit.

Great.

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

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