Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!p32g2000vbi.googlegroups.com!not-for-mail
From: "Jamin / Ilwon" <jamitwidme@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Solving ODE with final condition
Date: Wed, 4 Nov 2009 05:42:42 -0800 (PST)
Organization: http://groups.google.com
Lines: 15
Message-ID: <9e5b5bf4-b35d-4133-a16f-47aa2c74a306@p32g2000vbi.googlegroups.com>
NNTP-Posting-Host: 18.111.29.166
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1257342162 3757 127.0.0.1 (4 Nov 2009 13:42:42 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 4 Nov 2009 13:42:42 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: p32g2000vbi.googlegroups.com; posting-host=18.111.29.166; 
	posting-account=FAtjjwoAAACLr-TcAB2hJngz_2kXxvPO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) 
	AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:582363


I have a quick question.
I am trying to solve an ODE with final condition
How do I do this?
A simple example is
df/dx = f.
t = [0,10]
and f(t_f) = 5*exp(10)

If it was initial condition, I would do
f = ode45(@function,tspan,f0)
with properly defined function.

But I do not know how to solve ode with final condition.

Thank you for your help