Matlab ode45/independent variables help

  • MATLAB
  • Thread starter CaptainEvil
  • Start date
  • #1
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 Threads on Matlab ode45/independent variables help

  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
0
Views
2K
  • Last Post
Replies
4
Views
7K
  • Last Post
Replies
3
Views
7K
Replies
2
Views
24K
  • Last Post
Replies
7
Views
6K
Replies
0
Views
5K
Replies
0
Views
2K
  • Last Post
Replies
4
Views
6K
Top