How would I generate symbolically the time function

f(t)=0.0065-0.00024 e-2.5t cos(21t)+0.057 e-2.5t sin(23t) -0.0071e-8t

2 Comments

Is 0.00024 e-2.5t intended to mean (0.0024 * 10^(-24)) - (2.5 * t), or is it intended to mean (0.00024) * exp(-2.5 * t) or something else? What does the cos(21*t) multiply ? Please rewrite your expression to be clearer.

Sign in to comment.

Answers (1)

F = @(t)t^2+cos(t);

2 Comments

how did you get to this?
How did I get to this?? This is how you define mathematical functions symbolically. I just defined a random function not the one you asked.

Sign in to comment.

Asked:

on 22 Feb 2014

Commented:

on 22 Feb 2014

Community Treasure Hunt

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

Start Hunting!