solving system of equations
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!