options=odeset('RelTol',1e-3,'AbsTol',1e-4);
Error :RelTol must be a positive scalar.
4 次查看(过去 30 天)
显示 更早的评论
options=odeset('RelTol','1e-3','AbsTol','1e-4');
I am trying to plot phase portraits for a non autonomous system. The code gives me the following error: Error using odearguments (line 126) RelTol must be a positive scalar.
Could you please help me to fix it?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!