Home:ALL Converter>Solve System of Linear Equations

Solve System of Linear Equations

Ask Time:2018-10-04T00:19:51         Author:AD_Matlab

Json Formatter

I have a column vector of linear equations. each equations is fun of series of variables (x1,x2,......x20,y1,y2,.....,y20), all the equaions=0

how to solve these equations

from Matlab help 
sol = solve([eqn1, eqn2, eqn3], [x, y, z]);
xSol = sol.x
ySol = sol.y
zSol = sol.z

how to call the matrix instead of each equations eqn1,eqn2,...especially for the very large number of equations

the same for the variables can call them as vectors instead of individuals/one by one.

Also, I keep getting the same warning

[Warning: Cannot solve symbolically. Returning a numeric approximation instead. ]

Thanks

Author:AD_Matlab,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/52631575/solve-system-of-linear-equations
yy