You are on page 1of 3

EXPT-2

%To find out transfer function by reducing linear system block


diagram
%using series-parallel configuration.Take 2 different t.f.
clc;
close all;
clear all;

num1=input('enter the coefficient of num');


den1=input('enter the coefficient of den');
S1=tf(num1,den1)
display(S1)
grid on

num2=input('enter the coefficient of num');


den2=input('enter the coefficient of den');
S2=tf(num2,den2)
display(S2)
grid on

S3=S1*S2
S4=S1+S2
S5=feedback(S3,S4)

You might also like