In: Statistics and Probability
Let's say that I have a set of ten linear, simulateous equations for 6 unknowns. What MATLAB code could I write to see how many of the variables could be solved in a numerical solution?
As per the given scenario, this gonna be a Over Determined system of equations.
Let us suppose that, the unknown variables of linear simultaneous equations are in the form
Where is the coefficient matrix of the unknown variables, denotes the matrix of unknown variables
and denotes the matrix with elements of RHS of those equations.
Here the number linear simultaneous equations is greater than the number of unknown variables.
The following MATLAB Code solves the over determined set of equations.:--
A has dotted portion from 3rd equation to 8th one.( Assuming you have understood well)
From
The number solutions which could be solved will come directly.
Thus We can handle Over determined system of equations well.