How to specify coefficients of variable terms in ODE system

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by