How to plot transfer functions?

조회 수: 608 (최근 30일)
Ali Deniz
Ali Deniz 2021년 11월 29일
답변: Adem 2024년 2월 7일
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)

채택된 답변

Yusuf Suer Erdem
Yusuf Suer Erdem 2021년 11월 29일
편집: Yusuf Suer Erdem 2021년 11월 29일
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));

추가 답변 (1개)

Adem
Adem 2024년 2월 7일
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));

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by