I'm trying to find the transform of the following function using MATLAB:
$2x’’+x’-x = 27\cos(2t) +6 \sin(t)$
$x(0) = -1$ and $x’(0) = -2$
This is the code I have:
I keep getting a warning message in matlab saying"Character vector inputs are not recommended...". Can you tell me why this message is coming up and where I'm going wrong with my code?

The standard flow looks more or less like this:
You can verify that
soltis a particular solution of your differential equation. You can also check that it satisfies the initial conditions.Back in the day MATLAB had no support for function handles; an often-used workaround was to pass strings around with expressions to be evaluated, but now this practice is discouraged.