How would I generate symbolically the time function
8 次查看(过去 30 天)
显示 更早的评论
f(t)=0.0065-0.00024 e-2.5t cos(21t)+0.057 e-2.5t sin(23t) -0.0071e-8t
2 个评论
Walter Roberson
2014-2-22
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.
回答(1 个)
Dishant Arora
2014-2-22
F = @(t)t^2+cos(t);
2 个评论
Dishant Arora
2014-2-22
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!