a simple question about transfer function

조회 수: 1 (최근 30일)
reto panda
reto panda 2020년 8월 3일
답변: Arkadiy Turevskiy 2020년 10월 7일
helo . I have a matrix like x=[1:100] . how can I know the output , when input is x and the transfer function is ???
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 8월 3일
https://staff.fnwi.uva.nl/r.vandenboomgaard/SP20162017/ComplexDomain/ZDomain/z_operator.html

댓글을 달려면 로그인하십시오.

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2020년 10월 7일
sys=tf(1,[1 -1],-1,'Variable','z^-1'); %1/(1-z^-1);
sys1=sys*sys*sys*sys; %1/(1-z^-1)^4;
sys1.ts=0.1; %set sample time to 0.1 sec -change as needed
x=[1:100];
t=(x-x(1))*sys1.ts; % create time vector thta starts at zero
y=lsim(sys1,x,t);
plot(t,y)

카테고리

Help CenterFile Exchange에서 Dynamic System Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by