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
Expanding a function: The expand function will multiply out terms, and factor will do the opposite: >> expand((x+2)*(x-1)) ans = x^2 x-2 >> factor(ans)

Dot Product: The dot or inner product of two vectors a and b is written as a • b and is defined as  In another words, this is like matrix multiplication when multiplyi

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

Appending variables to the Mat-File: Appending to the file adds to what has been saved in a file, and is accomplished by using the -append option. For illustration, supposing

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

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

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


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

Illustration of Vectors of structures: In this illustration, the packages are vector which has three elements. It is shown as a column vector. Each and every element is a stru