How can i plot transfer function with step signal input?

2 Ansichten (letzte 30 Tage)
Mark S
Mark S am 5 Dez. 2020
Kommentiert: Ameer Hamza am 5 Dez. 2020
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)

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 5 Dez. 2020
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)

Weitere Antworten (0)

Kategorien

Mehr zu Plot Customization finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by