How would I generate symbolically the time function
7 views (last 30 days)
Show older comments
f(t)=0.0065-0.00024 e-2.5t cos(21t)+0.057 e-2.5t sin(23t) -0.0071e-8t
2 Comments
Walter Roberson
on 22 Feb 2014
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.
Answers (1)
Dishant Arora
on 22 Feb 2014
F = @(t)t^2+cos(t);
2 Comments
Dishant Arora
on 22 Feb 2014
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.
See Also
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!