%Lecture13d
%Compute Residues

%We define the numerator
B=20*[1 3]

%We define the denominator
A=conv([1 1],[1 2 5])
roots(A)

%We create the transfer function
V=tf(B,A)

%We compute the residues
[R,P,K] = RESIDUE(B,A)

