solving system of equations
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!