Professional Documents
Culture Documents
ECE424FL Activity 1 Notes
ECE424FL Activity 1 Notes
ECE424FL Activity 1 Notes
2 Plotting the time-domain graph using x(t) and X(s) //Determine the roots of the denominator
-->t=(10^(-10)): 0.01:10; -->RXsd=roots(denom(Xs))
-->x=3-t.*exp(-4*t)+5*exp(-2*t).*cos(4*t);
-->clf; plot2d(t,x); xgrid(); With the denominator factored in terms of the roots
// plots x(t) for 0<t ≤10
4 3 2
s + 15s + 45s +63s + 60
// Plotting x(t) using its Laplace transform X(s) X(s) = ----------------------------------------------------
-->t=(10^(-10)): 0.01:10; (s+2)(s+1-j2)(s+1+j2)(s+2-j1)(s+2+j1)
-->x=csim('impulse', t, tf2ss(Xs));
-->plot2d(t,x); xgrid; The partial fraction expansion of X(s) is
// plots x(t) for 0 < t ≤ 10 from X(s)
A1 A2 A3
Note that effectively there is only one plot X(s) = -------- + ---------- + -----------
because the two plots coincided exactly. (s+2) (s+1-j2) (s+1+j2)
3s+8 10 -5 2
X(s) = ---------- + --------- + --------- + ---------
2 3 2
s +4 (s+2) (s+2) (s+2)
[PRACTICE PROBLEM 2]
Obtain the Partial Fraction expanded form and then
determine the inverse Laplace transform of the
following Laplace transforms.
4 3 2
7s + 75s + 280s + 572s +784
(a) X(s) = ------------------------------------------------------
5 4 3 2
s + 11s + 48s + 104s + 176s + 240
5 4 3 2
10s + 42s + 61s + 40s + 20s + 4
(b) X(s) = -----------------------------------------------------
6 5 4 3 2
s + 5s + 9s + 7s + 2s