How to specify coefficients of variable terms in ODE system
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone,
I need to specify the coefficients of the ODE variables g and f as a predetermined variables but matlab only accepts numerical values as coefficients of its differential variables. Is there any way to fix this?
[f, g] = dsolve('D2f == A*f + B*g', 'Dg == C*f + H*g')
where A, B, C and H are predetermined terms.
Thanks in advance.
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!