STEP RESPONSE
G(S) = ( 1 / 6s+1 )
Program :
clc;
clear all;
num = [1];
den = [6 1];
sys = tf (num, den);
step(sys);
grid();
title('Unit Step Response of G(S) = ( 1 / 6s+1 )');
xlabel('Time in Seconds');
ylabel('Response');
clc: Used to clear the screen
clear all: Used to clear all the variables from memory;
Assign Num,Den as Variable using Numerator and Denominator Values
Assign sys as Transfer Function using tf();
Plot Step Response using step();
grid(); Shows the grid lines on your plot
title(‘something’); set a title for your plot
xlabel(‘something); set a x-axis name
ylabel(‘something’); set a y-axis name
One Line Command:
step(tf([1],[6 1]));
If you like this blog, please share, like, comment.
New bloggers are invited to write post in this blog. Contact: mannarmannan@engineer.com
SHARING IS CARING