MATLAB: Using sin as part of a longer equation

sin

This is my example .5*exp(1).^(-1.2*t) *sin(10*pi*t). The first part works. But when I try to multiply by the sin of 10pi*t, it tells me that inner matrix don't agree. Any suggestions for how to input this information to get a result?

Best Answer

Use .* instead of *