Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE 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
Joined
Sep 26, 2005
Messages
5
Location
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.

Part and Inventory Search

Sponsor

Back
Top