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
Illustration of finding a sting: Let's enlarge this, and write a script which creates a vector of strings which are phrases. The outcome is not suppressed so that the string

Subfunctions: Though, it is possible to have more than one function in a given M-file. For illustration, if one function calls the other, the first function would be the prima

Technique to create Nested structures: This technique is the most proficient. Though, the other technique is to build the nested structure one field at a time. As this is a ne

Matrix operations: There are some common operations on matrices. The operators which are applied term by term, implying that the matrices should be of similar size, sometimes

Illustration of initializing the data structure: illustration of initializing the data structure by preallocating is here as shown: >> cyls(3) = struct('code', 'c', 'dimen

Illustration of Variable scope: Running this function does not add any of variables to the workspace, as elaborated: >> clear >> who >> disp(mysum([5 9 1]))

Passing Structures to Functions: The whole structure can be passed to a function, or separate fields can be passed. For illustration, here are the two distinct versions of a f

Creating Cell arrays: There are many ways to create cell arrays. For illustration, we will create a cell array in which one element will store an integer, one element store ch

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

Example of modular program: In a modular program, there would be one main script which calls three separate functions to complete these tasks: A function to prompt an us