Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

MATLAB Command Window Page 1

>> syms t s
>> f = (2/7*exp(t)*(sin(3*t)+cos(3*t)) + 1/7*(sin(3*t)+cos(3*t)));
>> F = laplace(f,t,s);
>> simplify(F)

ans =

(2*(s - 1))/(7*((s - 1)^2 + 9)) + s/(7*(s^2 + 9)) + 3/(7*(s^2 + 9)) + 6/(7*((s - 1)^2 +
9))

>> pretty(F)
2 (s - 1) s 3 6
---------------- + ---------- + ---------- + ----------------
2 2 2 2
7 ((s - 1) + 9) 7 (s + 9) 7 (s + 9) 7 ((s - 1) + 9)

>> nomor 16

You might also like