Solving Multiple First Order Differential Equations for Constants
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I hope someone can help me.
I am looking to solve these 6 first order differential equations for the unknowns k1, k2, k3, k4, k5 and k6, with known concentrations in the square brackets (any number for them will do just now to get a working script!). Could someone help me obtain a script to do this?
Many thanks in advance.
댓글 수: 0
채택된 답변
Torsten
2019년 2월 15일
Replace the time derivatives by difference quotients.
Then you get a linear system of equations
A*[k1;k2;k3;k4;k5;k6] = b
where the number of rows in A is equal to (6*number of measurement times).
This can subsequently be solved using
k = A\b.
Best wishes
Torsten.
댓글 수: 8
Torsten
2019년 2월 20일
Since your data are taken at times with such a great temporal distance, you should try the method described here:
Best wishes
Torsten.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Performance and Memory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!