Solving a set of simultaneous equations with matrices
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I am trying to solve a set of simultaneous equations as follows, where the values of Qa, Q1, Q2, Q3, Q4 are unknown, and g1, g2, g3, g4, and ga are each 41x1 matrices, the values of which are known. The values of Qa, Q1, Q2, Q3 and Q4 are to be 41x1 matrices that are non-negative. I have tried to solve the equations using vpasolve and fsolve, however it will not complete the calculation in either case. Is there a way of calculating the solutions to simultaneous equations which contain matrices, to calculate the values of Q which correspond to each value in the matrix? Thank you for your help!
syms Qa_1 Q1_1 Q2_1 Q3_1 Q4_1
eqn1_1 = (Qa_1 - (Q1_1 + Q2_1 + Q3_1 + Q4_1));
eqn2_1 = (Qa_1^2/60.51 + Q1_1^2/0.862 - (-2.375*g1_11 + 12.295*ga_11));
eqn3_1 = (Qa_1^2/60.51 + Q2_1^2/1.346 - (-2.375*Hv2 + 8.395*ga_11));
eqn4_1 = (Qa_1^2/60.51 + Q3_1^2/1.346 - (-2.375*Hv3 + 4.495*ga_11));
eqn5_1 = (Qa_1^2/60.51 + Q4_1^2/1.346 - (-2.265*g4_11 + 0.82*ga_11));
2 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!