Matrix solutions of the linear algebraic equation, MATLAB in Engineering

Assignment Help:

Matrix solutions to systems of the linear algebraic equations:

The linear algebraic equation is an equation of the form

a1x1 + a2x2 + a3x3   .  .  .  .  anxn = b

Where a's are the constant coefficients, the x's are the unknowns, and b be constant. A solution is a series of numbers s1, s2, and s3 which satisfy the equation. The illustration is as follows,

4x1 +  5x2 - 2x3 = 16

is such an equation in which there are 3 unknowns: x1, x2, and x3. The One solution to this equation is x1 = 3, x2 = 4, and x3 = 8, as 4 * 3 + 5 * 4 - 2 * 8 is equal to 16.

The system of linear algebraic equations is a set of equations of the form:

621_Matrix solutions of the linear algebraic equation.png

 

This is known as m × n system of equations; there are m equations and n unknowns.

As of the way that matrix multiplication works, such equations can be presented in matrix form as Ax = b here A is a matrix of the coefficients, x is the column vector of the unknowns, and b is the column vector of constants from the right-hand side of the equations:

A solution set is a set of all the possible solutions to the system of equations (all sets of values for the unknowns which solve the equations). All the systems of linear equations have either:

  •  No solutions
  •  One solution
  •  Infinitely many solutions

The one of the main concepts of the subject of linear algebra is the various techniques of solving (or trying to solve!) systems of the linear algebraic equations. The MATLAB has many functions which assist in this process.

The system of equations has been once written in matrix form, what we want is to evaluate the equation Ax = b for the unknown x. To do this, we require to isolate x on one side of the equation. If we were working with scalars, then we divide both sides of the equation by x. However, with the MATLAB we can use the divided into operator to do this. Though, most languages cannot do this with matrices, therefore we rather multiply both sides of the equation by the inverse of the coefficient matrix A:

A-1 A x = A-1 b

Then, as multiplying a matrix by its inverse results in the identity matrix I, and since multiplying any matrix by I answers in the original matrix, we contain:

I x = A-1 b

or

x = A-1 b

This means that the column vector of unknown x is found as the inverse of matrix A multiplied by the column vector b. Therefore, if we can find the inverse of A, we can resolve for the unknown in x.


Related Discussions:- Matrix solutions of the linear algebraic equation

Illustration of anonymous functions, Illustration of anonymous functions: ...

Illustration of anonymous functions: Dissimilar functions stored in the M-files, when no argument is passed to an anonymous function, the parentheses should still be in the fu

Related structure functions, Related Structure Functions: There are ma...

Related Structure Functions: There are many functions which can be used with structures in a MATLAB. The function isstruct will return 1 for logical true when the variable arg

Illustration of passing arguments to functions, Illustration of Passing arg...

Illustration of Passing arguments to functions: Here is an illustration of calling this function: >> printrand() The random # is 0.94 As nothing is passed to

Dot product of matrix, Dot Product: The dot or inner product of two ve...

Dot Product: The dot or inner product of two vectors a and b is written as a • b and is defined as  In another words, this is like matrix multiplication when multiplyi

Function iscellstr - string, Function iscellstr - string function: The...

Function iscellstr - string function: The function iscellstr will return the logical true when a cell array is a cell array of all the strings, or logical false if not. >>

Plotting streamline in matlab, I have a vector of X, one for Y , one for x-...

I have a vector of X, one for Y , one for x-direction velocity U and one for y-direction velocity V. they are at same size. How can I plot streamline of that flow? I follow all exa

Matrix definitions, Matrix definitions: As we know the matrix can be t...

Matrix definitions: As we know the matrix can be thought of as a table of values in which there are both rows and columns. The most common form of a matrix A (that is sometime

Num2str function - string, num2str function: The num2str function, tha...

num2str function: The num2str function, that converts real numbers, can be called in many ways. If only the real number is passed to the num2str function, it will generate a s

Filter, A matlab function to calculate filter order

A matlab function to calculate filter order

Replacement - gauss-jordan elimination, Replacement : Replace a row b...

Replacement : Replace a row by adding it to (or subtract from it) a multiple of the other row. For a given row ri, this is written as   ri  - srj →  ri Note that when r

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd