Inverse of square matrix, MATLAB in Engineering

Inverse of square matrix:

The inverse is, hence the result of multiplying the scalar 1/D by each and every element in the preceding matrix. Note that this is not the matrix A, but is determined by using the elements from A in the manner shown below: the values on the diagonal are reversed, and the operator negation is used on the other two values.

Note that if the determinant D is 0, it will not be possible to find the inverse of the matrix A.

20_Inverse of square matrix.png

The unknowns are found by evaluating this matrix multiplication, and hence:

x1 = -1 * 2 +  1 * 6 = 4

x2 = 1 * 2 + (-1/2) * 6 = -1

This, obviously, is the similar solution as found by the intersection of the two lines.

To do this in a MATLAB, at first we would generate the coefficient matrix variable a and column vector b.

 

>> a = [1 2; 2 2];

>> b = [2;6];

Posted Date: 10/22/2012 3:10:11 AM | Location : United States







Related Discussions:- Inverse of square matrix, Assignment Help, Ask Question on Inverse of square matrix, Get Answer, Expert's Help, Inverse of square matrix Discussions

Write discussion on Inverse of square matrix
Your posts are moderated
Related Questions
Data structures: The Data structures are variables which store more than one value. In order to made sense to store more than one value in a variable, the values must in some

Function fieldnames - structure functions: The function fieldnames will return the names of the fields which are contained in the structure variable. >> pack_fields = fiel

Execution steps: Whenever the program is executed, the steps below will take place: The script calcandprintarea starts executing. The calcandprintarea calls the readr

Function used in binary search: The function below implements this binary search algorithm. It receives two arguments: the sorted vector and a key (on the other hand, the func


Sound Files: The sound signal is an illustration of a continuous signal which is sampled to result in a discrete signal. In this situation, sound waves traveling through the a

Illustration of Gauss elimination: For illustration, for a 2 × 2 system, an augmented matrix be: Then, the EROs is applied to obtain the augmented matrix into an upper

Program of passing arguments to functions: This was an illustration of a function which did not receive any input arguments nor did it return any output arguments; it easily a

Write a program to examine exponential function: We will write a program to examine the value of e and the exponential function. It will be a menu-driven. The menu options wil

Interpolation and extrapolation: In most cases, it is desired to estimate values other than at the sampled data points. For illustration, we may want to estimate what the temp