Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Different initial condition than y(0) for ode45?

Status
Not open for further replies.

adityagaddam

Computer
Sep 26, 2005
5
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.

Part and Inventory Search

Sponsor