编程语法问题。
显示 更早的评论
这样写为什么有警告呢? dsolve('0.5*D2x==-0.2*Dx-10*x','Dx(0)=0','x(0)=0.5')
警告: Support of character vectors and
strings will be removed in a future
release. Use sym objects to define
differential equations instead.
> 位置:dsolve (第 126 行)
ans =
(exp(-t/5)*(499*cos((499^(1/2)*t)/5) + 499^(1/2)*sin((499^(1/2)*t)/5)))/998
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!