Good day. I am interested in solving a problem of the form:
x_dot = Ax + F,
using Matlab. Usage of a numerical solver ( ode23/ode45) seems straightforward, but in my case the matrix A and vector F are state dependent. Thus, i need to update them after each iteration step using the newly derived state.
Can it actually be done using ode23/ode45? Do i need to follow another path?
Thanks in advance, any insight appreciated.
ode45solves non-stiff differential equation in the formx'(t) = f(t,x), and your problem fits the description. Typedoc ode45in your Command Window for details. - user2271770