Matrix multiplication, MATLAB in Engineering

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 meaning. First of all, in order to multiply a matrix A by a matrix B to answer in a matrix C, the number of columns of A should be similar to the number of rows of B. If the matrix A has dimensions m × n that means that matrix B should have dimensions n × something; and we'll call it p. We say that the inner dimensions should be similar. The resultant matrix C has similar number of rows as A and similar number of columns as B (in another words, the outer dimensions m × p). In mathematical notation, [A]m x n [B]n x p = [C]m x p. This only defines the size of C.

The elements of the matrix C are defined as the addition of products of corresponding elements in the rows of A and columns of B, or in another words

2022_Matrix Multiplication.png

In the example below, A is 2 × 3 and B is 3 × 4 therefore C will be 2 × 4. The elements in C are acquired by using the summation. The first row of C is obtained by using the first row of A and in succession the columns of B. For illustration, C(1,1) is 3 * 1 +  8 * 4  + 0 * 0 or 35. C(1,2) is 3 * 2  + 8 * 5  + 0 *2 or 46.

2365_Matrix Multiplication1.png

Posted Date: 10/22/2012 2:33:14 AM | Location : United States







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

Write discussion on Matrix multiplication
Your posts are moderated
Related Questions
Calling of Function polyval: The curve does not appear very smooth on this plot, but that is as there are only five points in the x vector. To estimate the temperature

Evaluating a string: The function eval is used to compute a string as a function. For illustration, below is the string 'plot(x)'is interpreted to be a call to plot the functi

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

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

Variable Scope: The scope of any of variable is the workspace in which it is valid. The workspace generated in the Command Window is known as the base workspace. As we know

Binary Search: The binary search supposes that the vector has been sorted first. The algorithm is just similar to the way it works whenever looking for a name in a phone direc

Logical scalar values: The MATLAB also has or and and operators which work element wise for the matrices: These operators will compare any of the two vectors or matric

Image Processing: The Images are represented as grids, or matrices, of picture elements (known as pixels). In MATLAB an image usually is represented as a matrix in which each

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

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,