The following input and response information is given.
H(s) = (3s + 1)/(s^2 + 2s +5)
x(t) = exp(-3t) therefore X(s) = 1/(s+3)
Y(s) = H(s)X(s)
n = [0 0 3 1]; d1 = [1 2 5]; d2 = [1 3]; d = conv (d1,d2); [r,p,k] = residue (n,d)
k1mag = abs(r(3)) k1phase = angle(r(3))*180/pi
RESULTS
r = -1 0.5 – 0.25i 0.5 + 0.25i p = -3 -1 + 2i -1 – 2i k = 0
k1mag = 0.559 k1phase = 26.6
How does one get from the above MATLAB results to the following expression?
y(t) = 1.118exp(-t)cos(2t – 26.6) – exp(-3t)
Best Answer
Assuming you have the simbolic toolbox
I'm not sure about the results!