Express vector of linear combinations as matrix product
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a column vector of symbolic linear combinations such as
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/587681/image.png)
How can I convert it to the form of a matrix product like
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/587686/image.png)
0 commentaires
Réponses (1)
Mahesh Taparia
le 21 Avr 2021
Hi
syms x(t) y(t)
a=5;
b=6;
c=7;
d=8;
eqns = [a b;c d]*[diff(x);diff(y)];
For more information, you can refer this documentation on solving linear differential equations. Hope it will help!
0 commentaires
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!