Borrar filtros
Borrar filtros

How to plot transfer functions?

601 visualizaciones (últimos 30 días)
Ali Deniz
Ali Deniz el 29 de Nov. de 2021
Respondida: Adem el 7 de Feb. de 2024
How can I plot this state space like the graph I attached by using tf() and step() command? Thank you!
I2/E0=1/(s^3+s^2+3*s+1)

Respuesta aceptada

Yusuf Suer Erdem
Yusuf Suer Erdem el 29 de Nov. de 2021
Editada: Yusuf Suer Erdem el 29 de Nov. de 2021
Try these codes below please;
clc; clear; close all;
numerator = 1;
denominator = [1,1,3,1];
sys = tf(numerator,denominator);
yyaxis left
plot(step(sys));
yyaxis right
plot(impulse(sys));

Más respuestas (1)

Adem
Adem el 7 de Feb. de 2024
clc; clear; close all;
numerator = 1;
denominator = [1,1,3,1];
sys = tf(numerator,denominator);
yyaxis left
plot(step(sys));
yyaxis right
plot(impulse(sys));

Community Treasure Hunt

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

Start Hunting!

Translated by