Solving Multiple First Order Differential Equations for Constants
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Torsten
il 15 Feb 2019
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 Commenti
Torsten
il 20 Feb 2019
Since your data are taken at times with such a great temporal distance, you should try the method described here:
Best wishes
Torsten.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Performance and Memory in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!