Don't know where my code is wrong and how to fix it
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Star Strider
2022-7-18
The integrated result remains symbolic because ‘x’ is symbolic.
Example —
syms t x
x2 = t^3;
F2 = sin(x);
q = F2*diff(x2,t)
intq = int(q,t,0,1)
So double will fail unless there is a numeric value for ‘x’.
.
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!