The attachment is here. Thank you.
How to plot transfer functions?
468 views (last 30 days)
Show older comments
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)
Accepted Answer
Yusuf Suer Erdem
on 29 Nov 2021
Edited: Yusuf Suer Erdem
on 29 Nov 2021
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));
More Answers (1)
Adem
on 7 Feb 2024
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));
0 Comments
See Also
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!