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
Program to Counting in a while loop: The script initializes variable counter to 0. Then, in the while loop action, each and every time the user successfully enter a number, th

Sorting Vectors of structures: Whenever working with vector of structures, it is very common to sort based on a particular field within the structures. For illustration, recal

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

Illustration sorting vectors of structures: This function sorts the structures depend only on the price field. A more common function is shown next, that receives a string whi

Graphics Properties: The MATLAB uses the Handle Graphics in all its figures. All figures consist of various objects, each of which is assigned a handle. The object handle is a

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

Comparing strings: There are few functions which compare strings and return logical true when they are equivalent or logical false when not. The function strcmp compares the s

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

Technique is to create one element - vector: Technique is to create one element with the values from one structure, and use repmat to replicate it to the preferred size. Then,