solving system of equations
Mostrar comentarios más antiguos
Hi, I have the following three equations:
a = Q/k*(N1+ N2);
b = Q/k*(N1 + N2);
dQ/dt = r - k*(N1*a + N2*b);
where, r, k, N1, and N2 are parameters. I am a newbie to Matlab. I know I should use ode45 to solve for Q and provide an initial value. But, I could not quite figure out how to use values of Q to calculate a and b. Can anyone please help? Thank you. -Sam
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!