how do I store a function into a variable and solve it?
16 次查看(过去 30 天)
显示 更早的评论
I am trying to calculate this function: 𝑓(𝑡) = 4(sin(2𝜋𝑡)) + exp(−𝑡)/𝑡
but it keeps on telling me 'Error using sym/assume Too many output arguments.'
syms t
y = 4*sin(2*pi*t) + exp(-t)./t;
eqn = y == 0
solv= solve(eqn,t)
4 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!