Matrix operations, MATLAB in Engineering

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 are termed to as array operations. These involve addition and subtraction.

The Matrix addition means adding the two matrices term by term, that means they should be of the similar size. In mathematical terms, this is written cij =   aij +  bij.

1809_Matrix operations.png

Similar to the matrix addition, matrix subtraction means to subtract term by term, therefore in mathematical terms cij = aij - bij. This would also be accomplished by using a nested for loop in many languages, or by using the - operator in a MATLAB.

The Scalar multiplication means to multiply each and every element by a scalar number

 

865_Matrix operations1.png

This would also be accomplished by using a nested for loop in many languages, or by using the * operator in a MATLAB.

Posted Date: 10/22/2012 2:31:19 AM | Location : United States







Related Discussions:- Matrix operations, Assignment Help, Ask Question on Matrix operations, Get Answer, Expert's Help, Matrix operations Discussions

Write discussion on Matrix operations
Your posts are moderated
Related Questions
Displaying the cell arrays: There are several techniques of displaying the cell arrays. The celldisp function shows all elements of the cell array:   >> celldisp(cellro

Square Matrices: If a matrix has similar number of rows and columns, for illustration, if m == n, the matrix is square matrix. The definitions which follow in this part apply

Function issorted - set operations: The function issorted will return 1 for logical true when the argument is sorted in ascending order (minimum to maximum), or 0 for false wh

Interchange rows : for illustration interchanging rows ri and rj is written as

Replacing a string - function strrep: The function strrep finds all the occurrences of a substring within the string, and substitutes them with a new substring. The order of a

printrectarea function: function call: printrectarea(length, width) function header: function printrectarea(len, wid)   In the function call, there are two argume

num2str function: The num2str function, that converts real numbers, can be called in many ways. If only the real number is passed to the num2str function, it will generate a s

True color matrice: The true color matrices are the other way to represent images. The true color matrices are 3-dimensional matrices. The first two coordinates are the coordi


Matrix Multiplication: The Matrix multiplication does not mean multiplying term by term; and it is not an array operation. The Matrix multiplication has a very particular mean