MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Randy
on 24 Apr 2013

Error in FINALP4_matlab (line 8) M =(9+5*(cos(.4*t)).^2).*(5*exp(-.5*t) + 2*exp(.15*t))

*No products are associated with this question.*

## 1 Comment

## bym (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/73474#comment_145389

do you mean between t = 2 and t = 8? have you defined t?