How to specify coefficients of variable terms in ODE system

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by