# Matlab ode45/independent variables help

• MATLAB
Hi - I'm having some difficulties with a simulation I'm writing. I have a second order ODE with three arguments of derivative information y(1),y(2),y(3) - each changing wrt to the independent variable t.

Currently, in my system of ODEs, I have a variable that I am treating as constant. Ideally, I would like this constant to change with respect to another variable that is not t. Is there a way to use ode45 to combine two independent variables into one system of ODEs to solve simultaneously?

can provide code if requested. Thanks

## Answers and Replies

Related MATLAB, Maple, Mathematica, LaTeX News on Phys.org