How can I plot a second order non-linear ODE?
显示 更早的评论
This is my code so far but it does not work:
syms y(t)
ode = .003*diff(y,t)== .003*9.8-3.048*10^-6*y-
9.0726*10^-5*y^2;
cond = y(0) == 0;
ySol(t) = dsolve(ode,cond)
ezplot(y(t));
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!