Tracing of square matrices, MATLAB in Engineering

Tracing of Square matrices:

The trace of a square matrix is the addition of all the elements on the diagonal. For illustration, for the preceding matrix it is 1 + 6 + 11 + 16, or 34.

The square matrix is symmetric if aij = aji for all i, j. In another words, all the values opposite to the diagonal from each other should be equal to each other. In this illustration, there are three pairs of values opposite to the diagonals, all of which are equal that is the 2's, the 9's, and the 4's.

2373_Tracing of Square matrices.png

The square matrix is a diagonal matrix if all values which are not on the diagonal are 0. The numbers on the diagonal, though, do not have to be all nonzero though often they are. Mathematically, this is written as aij = 0 for i  ~= j.

An example of a diagonal matrix is shown here.

1604_Tracing of Square matrices1.png

Posted Date: 10/22/2012 2:29:38 AM | Location : United States

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

Write discussion on Tracing of square matrices
Your posts are moderated
Related Questions
Passing arguments to functions: In all these functions examples faraway, at least one of the arguments was passed in the function call to be the value(s) of the equivalent inp

Sort algorithm for Sorting vectors of structures: Note that only the price field is compared in the sort algorithm, but the whole structure is replaced. That is therefore each

Image Processing: The Images are represented as grids, or matrices, of picture elements (known as pixels). In MATLAB an image usually is represented as a matrix in which each

Removing Whitespace Characters: The MATLAB has functions which will eliminate trailing blanks from the end of a string and/or leading blanks from the starting of a string.

Creating a cell array: The other method of creating a cell array is easy to assign values to particular array elements and build it up element by element. Though, as explained

Cross Product: The cross or outer product a × b of two vectors a and b is defined only whenever both a and b are the vectors in three-dimensional space, that means that they b

Vector operations: As vectors are special cases of matrices, the matrix operations elaborated (addition, subtraction, multiplication, scalar multiplication, transpose) work on

Use of While loop: Here is an illustration of calling the function, passing 5000 for the value of the input argument high. >> factgthigh(5000) ans = 5040 The itera

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