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
Removing Whitespace Characters: The MATLAB has functions which will eliminate trailing blanks from the end of a string and/or leading blanks from the starting of a string.

Text graphic function - Graphics objects: The text graphic function permits text to be printed in a Figure Window, involving special characters which are printed by using \spe

Use of While loop: Here is an illustration of calling the function, passing 5000 for the value of the input argument high. >> factgthigh(5000) ans = 5040 The itera

Solving 2 × 2 systems of equations: However this may be easy in a MATLAB, in normal finding solutions to the systems of equations is not. The systems which are 2 × 2 are, thou

Illustration of Gauss elimination: For illustration, for a 2 × 2 system, an augmented matrix be: Then, the EROs is applied to obtain the augmented matrix into an upper

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

Replacing, Finding, and separating strings: There are numerous functions which find and replace the strings, or parts of strings, within the other strings and functions which

Matrix definitions: As we know the matrix can be thought of as a table of values in which there are both rows and columns. The most common form of a matrix A (that is sometime

str2num function - String: The function str2num does the opposite; it takes the string in which a number is stored and converts it to the type double: >> num = str2num('123.

i want to run 4 instances of my matlab code on 4 processor cores. im executing the job from head node. i created a parallel job and assigned number of workers. but i don''t get bac