MATLAB Program to Obtain Transfer Function from Data

Q. Obtain the transfer function from the following data

Program

%Program to Obtain Transfer Function from Data
%provided by electricalvoice.com
clc
clear all
%obtain transfer matrix
A=[-5 1;-6 0]
B=[1;2]
C=[2 1]
D=[0]
[num, den]=ss2tf(A,B,C,D)
printsys(num,den)

Q. Obtain the transfer function from the following data

Program

%Program to Obtain Transfer Function from Data
%provided by electricalvoice.com
clear all
clc
%obtain transfer matrix
A=[0 1;-6 -5]
B=[0;1]
C=[2 1]
D=[0]
[num, den]=ss2tf(A,B,C,D)
printsys(num,den)

 

 

Leave a Comment

error: Content is protected !!