Step Response of Transfer Function

조회 수: 4 (최근 30일)
Ainars Cernavskis
Ainars Cernavskis 2022년 1월 20일
댓글: Rena Berman 2023년 11월 27일
Hello so am trying to plot the step response of this trasnsfer function , but am not really sure how do i need to write it down in den = part , any help would be great thanks. .
t=0:0.01:5;
num = 1;
den = [1 2 17];
sys = tf(num, den);
y = step(sys,t);
plot(t,y*4)
  댓글 수: 2
Sam Chak
Sam Chak 2023년 11월 23일
The original question may be beneficial to people who wish to learn how to plot the step response.
Rena Berman
Rena Berman 2023년 11월 27일
(Answers Dev) Restored edit

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

채택된 답변

Yongjian Feng
Yongjian Feng 2022년 1월 20일
편집: Yongjian Feng 2022년 1월 20일
Get help by doing:
help tf
Basically, you need to expand the denominator given in image into polynomial of s. Then take the coefficients and put into den. For example, if you expand it into 2*s^2+5*s+10, then den = [2 5 10].
To expand the denominator, you can do it manually or you can use the expand function of matlab.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by