Help translating this expression to Matlab

Answers (1)

My best guess:
y = (exp(3*t) + t.^2.*sin(4*t)).*cos(3*t).^2;
or as an anonymous function:
y = @(t) (exp(3*t) + t.^2.*sin(4*t)).*cos(3*t).^2;
.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!