How to plot transfer functions?

조회 수: 450 (최근 30일)
Ali Deniz
Ali Deniz . 2021년 11월 29일
댓글: Ali Deniz . 2021년 11월 29일
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)
  댓글 수: 1
Ali Deniz
Ali Deniz 2021년 11월 29일
The attachment is here. Thank you.

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

채택된 답변

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
Ali Deniz
Ali Deniz 2021년 11월 29일
Thank you.

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

추가 답변 (0개)

카테고리

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