Hi PF!(adsbygoogle = window.adsbygoogle || []).push({});

I have a system of 4 first order linear ODE's, call each ODE ##\psi_1,...,\psi_4 : \psi = \psi(x,y,z,t)##. However, there are three algebraic variables (not ##x,y,z,t##, let's call them ##c_1,c_2,c_3##) that must be solved for as well, and I have three different (non-differential) equations to solve for them, call those ##\alpha_1, \,\, \alpha_2, \,\, \alpha_3 : \alpha_i = \alpha_i(c_1,c_2,c_3)##. I need to solve this system.

I have been using ode15s in MATLAB, a stiff solver. Typically this method works but since there are algebraic variables whose governing equations are not differential, the ode15s function is not working. Any ideas how to set this up?

Thanks so much!

Josh

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB Coupled System of ODE's with algebraic coefficients

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads for Coupled System ODE's |
---|

Maple ODE System solution Maple |

**Physics Forums | Science Articles, Homework Help, Discussion**