Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Samit
Posts:
59
Registered:
12/6/08


Simulating an ODE
Posted:
Oct 11, 2011 4:31 PM


Hi, I am trying to simulate an ODE using ode45. But However, in my case the vector field is a time varying vector instead of function. For example:
dx/dt = F(x,t), where F(x,t) = A, A is an array of 500 elements. I would like to simulate with an initial condition x0 and tspan=[1,500].
with normal setting, it is not working.
Any idea or thought?
Thanks for help, Hat



