Path: news.mathworks.com!not-for-mail
From: "Md. Shahriar Karim" <karim.shahriar@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: dy/dt value from ode45 solver
Date: Tue, 18 Aug 2009 19:58:18 +0000 (UTC)
Organization: EBL
Lines: 11
Message-ID: <h6f14q$7a7$1@fred.mathworks.com>
Reply-To: "Md. Shahriar Karim" <karim.shahriar@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1250625498 7495 172.30.248.35 (18 Aug 2009 19:58:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 18 Aug 2009 19:58:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1507044
Xref: news.mathworks.com comp.soft-sys.matlab:564278


Hi, 

I just used ode45 to solve a set of differential equations and got value of my variables (say, y) plotted. How can I have the "dy/dt" value saved as well for each time step when I use ODE45 solver.

Actually, I am interested to find out the steady-state time using the above approach. I consider "dy/dt" as a slope for the y plot and would like to extract the time value for any given condition on Slope dy/dt.

Could you please suggest the way to save the dy/dt data value for ODE45 sovler?

Thanking you

Md. Shahriar Karim