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
Changing Case: The MATLAB has two functions which convert strings to all uppercase letters, or all lowercase, known as the upper and lower. >> mystring = 'AbCDEfgh';

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

deblank function: The deblank function eliminates only trailing blanks from the string, not leading the blanks. The strtrim function will eliminate both the leading and traili

. Generate the following signal, x(n)=1+cos((25*pi*n)/100),0 Compute the DTFT of x[n] for w=0:0.01:2*pi Plot the Real part, imaginary part, the amplitude and phas

Function used in sound files: The MATLAB has numerous other functions which let you read and play sound or audio files. In the audio files, sampled data for each audio channel

Symbolic Variables and expressions: The MATLAB has a type known as sym for the symbolic variables and expressions; these work with strings. The illustration, to generate a sym

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

Replacement : Replace a row by adding it to (or subtract from it) a multiple of the other row. For a given row ri, this is written as   ri  - srj →  ri Note that when r

Algorithm for expfn function: The algorithm for expfn function is as shown:  receives the value of x as the input argument.  Prints the value of exp(x).  assigns a

Example of Plotting from a Function: For illustration, the function can be called as shown below:      >> y = [1:2:9].^3      y =     1  27  125  343  729