Equations to Matrix Solve

I have a question about equations to matrix. [X,b] = equationsToMatrix(equation);
Y = inv(X);
T=double(Y*b)
and my equations matrix looks like this
[ T11, T12, T13, T14]
[T11 - 4*T21 + 2*T22 + T31, T12 + T21 - 4*T22 + T23 + T32, 2*T13 + T22 - (1876*T23)/5 + T33 + 352640, T24]
[T21 - 4*T31 + 2*T32 + T41, T22 + T31 - 4*T32 + T33 + T42 + 16512, 2*T23 + T32 - (1876*T33)/5 + T43 + 352640, T34]
[T31 - 4*T41 + 2*T42 + T51, T32 + T41 - 4*T42 + T43 + T52, 2*T33 + T42 - (1876*T43)/5 + T53 + 352640, T44]
[T41 - 4*T51 + 2*T52 + T61, 2*T42 + 2*T51 - (1886*T52)/5 + T53 + T62 + 352640, T43 + T52 - (1866*T53)/5 + 352640, T54]
[T51 - 4*T61 + 2*T62 + T71, 2*T52 + T61 - (1876*T62)/5 + T72 + 352640, T63, T64]
[ T71, T72, T73, T74]
What will my solution T be ?I get a answer but I am not sure which Values in the column relate to which variable. Are they in order T11 T12 or some other kind of order. I ask because the first number I get isnt does correspond to T11 should be.
Thanks

Réponses (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 9 Nov 2021
Modifié(e) : Sulaymon Eshkabilov le 9 Nov 2021

0 votes

This exercises can be solved realtively easy using some symbolic toolbox fcns such as coeffs().
Should you have a difficulty how to employ coeffs() for this exercise, please post the initial part of your exercise by which you have gotten your matrix equation.

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by