Calculate steady state error for unit step and ramp input for Zero order hold

조회 수: 111 (최근 30일)
Mark S
Mark S 2021년 10월 24일
답변: Paul 2021년 10월 24일
Hi,
how can I calculate the state error for unit step and ramp input for the sys2?
sys1=tf(1,[1 1 0])
sys2=c2d(sys1,0.1)
I have calculated by hand and I get for unit step input 0
and for ramp input 0,1 steady state error
I want to check it now the the steady state error with matlab.
If my calculation by hand is ok.

답변 (1개)

Paul
Paul 2021년 10월 24일
The by-hand calculations do not appear to be correct. A quick way to get an idea if the calculations for the step input are correct is to just plot the step response:
doc step
The ramp response can be plotted using
doc lsim
among other options.
Alternatively, the Symbolic Math Toolbox can be used to analytically compute the responses.

카테고리

Help CenterFile Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by