implicit DAE using ode15i

Dear all, I have an implicit Differential algebraic equation that I used ode15i to solve. However, I know the solutions should be real numbers but instead I get a complex part of the magnitude of 1e-20 with each solution. Now, how could that happened? what does that complex part mean? and how do I force the ode15i function to look for real solution? Thanks for any help!

Answers (1)

lei shi
lei shi on 6 Oct 2015

0 votes

I find it is not easy to use like ode45 ,I am solve daes too .

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Asked:

on 15 Feb 2011

Answered:

on 6 Oct 2015

Community Treasure Hunt

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

Start Hunting!