How to specify coefficients of variable terms in ODE system
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!