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

Indexing into Vectors of structures: Frequently, when the data structure is a vector of structures, it is essential to iterate through the vector in order by various fields. F

Variable Scope: The scope of any of variable is the workspace in which it is valid. The workspace generated in the Command Window is known as the base workspace. As we know

Matrix solutions to systems of the linear algebraic equations: The linear algebraic equation is an equation of the form a 1 x 1 + a 2 x 2 + a 3 x 3    .  .  .  .  a n x n

Executing a program: Running the program would be completed by typing the name of the script; this would call the other functions: >> calcandprintarea Whenever prompt

Plotting File data: It is frequently essential to read data from a file and plot it. Generally, this entails knowing the format of the file. For illustration, let us suppose t

Logical scalar values: The MATLAB also has or and and operators which work element wise for the matrices: These operators will compare any of the two vectors or matric

Storing Strings in Cell Arrays: The one good application of a cell array is to store strings of various lengths. As cell arrays can store various types of values in the elemen

Finding a sting - function findstr: The function findstr receives two strings as input arguments. It finds all the occurrences of shorter string contained by the longer, and r

Illustration of Set operations: For illustration, given the vectors as shown below: >> v1 = 2:6 v1 = 2  3  4  5  6 >> v2 = 1:2:7 v2 = 1  3  5  7