MATLAB Matlab ode45/independent variables help

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
 

Want to reply to this thread?

"Matlab ode45/independent variables help" You must log in or register to reply here.

Related Threads for: Matlab ode45/independent variables help

  • Posted
Replies
0
Views
2K
Replies
0
Views
4K
Replies
0
Views
1K
Replies
0
Views
2K
Replies
0
Views
2K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top