Error :RelTol must be a positive scalar.

4 views (last 30 days)
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?

Accepted Answer

madhan ravi
madhan ravi on 5 Nov 2018
options=odeset('RelTol',1e-3,'AbsTol',1e-4);

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!