<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264965</link>
    <title>MATLAB Central Newsreader - Solving ODE with final condition</title>
    <description>Feed for thread: Solving ODE with final condition</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 04 Nov 2009 13:42:42 -0500</pubDate>
      <title>Solving ODE with final condition</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264965#692032</link>
      <author>Jamin / Ilwon</author>
      <description>I have a quick question.&lt;br&gt;
I am trying to solve an ODE with final condition&lt;br&gt;
How do I do this?&lt;br&gt;
A simple example is&lt;br&gt;
df/dx = f.&lt;br&gt;
t = [0,10]&lt;br&gt;
and f(t_f) = 5*exp(10)&lt;br&gt;
&lt;br&gt;
If it was initial condition, I would do&lt;br&gt;
f = ode45(@function,tspan,f0)&lt;br&gt;
with properly defined function.&lt;br&gt;
&lt;br&gt;
But I do not know how to solve ode with final condition.&lt;br&gt;
&lt;br&gt;
Thank you for your help</description>
    </item>
    <item>
      <pubDate>Wed, 04 Nov 2009 14:40:20 -0500</pubDate>
      <title>Re: Solving ODE with final condition</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264965#692055</link>
      <author>Bruno Luong</author>
      <description>&quot;Jamin / Ilwon&quot; &amp;lt;jamitwidme@gmail.com&amp;gt; wrote in message &amp;lt;9e5b5bf4-b35d-4133-a16f-47aa2c74a306@p32g2000vbi.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; I have a quick question.&lt;br&gt;
&amp;gt; I am trying to solve an ODE with final condition&lt;br&gt;
&amp;gt; How do I do this?&lt;br&gt;
&amp;gt; A simple example is&lt;br&gt;
&amp;gt; df/dx = f.&lt;br&gt;
&amp;gt; t = [0,10]&lt;br&gt;
&amp;gt; and f(t_f) = 5*exp(10)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If it was initial condition, I would do&lt;br&gt;
&amp;gt; f = ode45(@function,tspan,f0)&lt;br&gt;
&amp;gt; with properly defined function.&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Reverse the time, i.e., rewrite your ODE after changing the variable r := t_f - t;&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
  </channel>
</rss>

