Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Different initial condition than y(0) for ode45?

Status
Not open for further replies.

adityagaddam

Computer
Sep 26, 2005
5
0
0
US
Hi,

I am trying to solve a differential equation using ode45. But I need to use an initial condition other than y(0). Is there any way to do this? An example would be solving y^2 with an intial value of y(5) = 2. Matlab only seems to allow you to specify values for y(0)

Thanks,
Aditya
 
Status
Not open for further replies.
Back
Top