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
Interchange rows : for illustration interchanging rows ri and rj is written as

Use of built-in colormaps: MATLAB has built-in colormaps, it is also possible to generate others by using combinations of any colors. For illustration, the following generates

Sound Files: The sound signal is an illustration of a continuous signal which is sampled to result in a discrete signal. In this situation, sound waves traveling through the a

Set Operations: The MATLAB has numerous built-in functions which perform set operations on vectors. These involve intersect, union, setdiff, unique, and setxor. All these func

Function cirarea - Anonymous functions: The function handle name is cirarea. The one argument is passed to the input argument radius. The body of the function is an expression

Creating the structure Variables: Creating a structure variable can be accomplished by simply storing the values in fields by using assignment statements, or by using the stru

For Loops which do not use an iterator Variable in the action: In all the illustrations that we seen so far, the value of the loop variable has been used in same way in the ac

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

Basic mathematical operations: All the basic mathematical operations can be executed on symbolic expressions and variables (example, add, raise to a power, multiply, subtract,