How can i plot transfer function with step signal input?

조회 수: 2 (최근 30일)
Mark S
Mark S 2020년 12월 5일
댓글: Ameer Hamza 2020년 12월 5일
Hello, I have this transfer function:
sys = tf([2],[1 2]) G(s)
And this is my step input signal:
R(s)= 2/s
How can i combine R(s) and G(s) and plot this.
When I write this in Matlab i can plot only the transfer function withouz my step input singal:
sys = tf([2],[1 2]) G(s)
step(sys)
stepinfo(sys)

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 12월 5일
You can multiplythem together and then use the impulse() function
s = tf('s');
G = 2/(s+2);
R = 2/s;
sys = G*R;
impulse(sys)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Plot Customization에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by