Matrix multiplication, MATLAB in Engineering

Assignment Help:

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


Related Discussions:- Matrix multiplication

Scaling - gauss-jordan elimination, Scaling:   change a row by multiplying ...

Scaling:   change a row by multiplying it by a non-zero scalar sri →  ri For illustration, for the matrix:

Square matrices, Square Matrices: If a matrix has similar number of ro...

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

Patch function - graphics objects, Patch function - graphics objects: ...

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

Illustration of if - else statement, Illustration of if - else statement: ...

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

Use of nested if-else statements, Use of Nested if-else statements: By...

Use of Nested if-else statements: By using the nested if-else to select from among the three possibilities, not all the conditions should be tested. In this situation, if x is

Example of gauss-jordan, Example of Gauss-jordan: For a 2×2 system, th...

Example of Gauss-jordan: For a 2×2 system, this would results and for a 3 × 3 system, Note that the resulting diagonal form does not involve the right-most col

Illustration of vectors of structures, Illustration of Vectors of structure...

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

Example of exponential function modular program, Example of Exponential fun...

Example of Exponential function modular program: In order to view the distinction in the approximate value for e as n increases, the user kept choosing Limit & entering larger

Illustration of image processing, Illustration of Image processing: Th...

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

Plotting streamline in matlab, I have a vector of X, one for Y , one for x-...

I have a vector of X, one for Y , one for x-direction velocity U and one for y-direction velocity V. they are at same size. How can I plot streamline of that flow? I follow all exa

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd