# Unit step response

Posted 1 year ago
2146 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
Sort By:
Posted 1 year 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}]