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
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

Function used in binary search: The function below implements this binary search algorithm. It receives two arguments: the sorted vector and a key (on the other hand, the func

Graphics Properties: The MATLAB uses the Handle Graphics in all its figures. All figures consist of various objects, each of which is assigned a handle. The object handle is a

Function rmfield - structure: The function rmfield eliminates a field from the structure. It returns a new structure with field eliminated, but does not modify the original st

Algorithm for appex subfunction: The algorithm for appex subfunction is as shown:  Receives x & n as the input arguments.  Initializes a variable for running sum of t

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

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

Built-in colormaps: The MATLAB has numerous built-in colormaps which are named; the reference page on colormap shows them. Calling the function colormap without passing any ar

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

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