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;
.

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!