MATLAB: Inverse laplace of s certain function

inverse laplace

hello. I am trying to find the inverse laplace of a function such as exp(-3s)^2/(s-4) which I know the answer will have a unit step which is the Heaviside but unfortunately it is outputting me the same what I typed;ilaplace(f).Any ideas how to get the answer?

Best Answer

It works for me in R2017b:
syms s t
F = exp(-3*s)^2/(s-4);
f = ilaplace(F,s,t)
f =
heaviside(t - 6)*exp(4*t - 24)