How To Plot Transfer Functions In Matlab?

Illustration
AliDeniz - 2024-09-03T15:12:08+00:00
Question: How To Plot Transfer Functions In Matlab?

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)

Expert Answer

Profile picture of Prashant Kumar Prashant Kumar answered . 2025-11-20

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));

 


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!