a simple question about transfer function

2 visualizaciones (últimos 30 días)
reto panda
reto panda el 3 de Ag. de 2020
Respondida: Arkadiy Turevskiy el 7 de Oct. de 2020
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 comentario
Walter Roberson
Walter Roberson el 3 de Ag. de 2020
https://staff.fnwi.uva.nl/r.vandenboomgaard/SP20162017/ComplexDomain/ZDomain/z_operator.html

Iniciar sesión para comentar.

Respuestas (1)

Arkadiy Turevskiy
Arkadiy Turevskiy el 7 de Oct. de 2020
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)

Categorías

Más información sobre Control System Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by