solving system of equations
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!