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
I dont know how to input different videos on matlab program

Initializing the data structure - Function: Function is shown as:   >> printcylvols(cyls) Cylinder x has a volume of 169.6 Cylinder a has a volume of 100.5

Illustration of if - else statement: The one application of an if-else statement is to check for errors in the inputs to a script. For illustration, a former script prompted t

A matlab function to calculate filter order

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

Illustration of Image processing: This displays that there are 64 rows, or in another word, 64 colors, in this specific colormap. It also displays that the first five colors a

IS Functions in Matlab: There are many functions which are built into MATLAB which test whether or not something is true; these function names start with the word is. As these

Forward elimination: In forward elimination, we want to obtain a 0 in the a 21 position. To accomplish this, we can alter the second line in the matrix by subtracting from it

Patch function - graphics objects: The patch function is used to generate a patch graphics object, which is made from 2-dimensional polygons. The patch is defined by its verti

function numden: The function numden will return individually the numerator & denominator of a symbolic expression: >> sym(1/3 + 1/2) ans = 5/6 >> [n, d] =