FC 170 - Matrix Multiplication

The matrix multiplication function code multiplies a pair of three-by-three matrices. The output is a three-by-three matrix. Like matrix addition (function code 169), use matrix multiplication for system modeling and simulation. The outputs show the effects of various values of several different parameters.

 

Matrix multiplication can implement advanced control strategies that incorporate several independent variables.

 

 

Outputs:

Blk

Type

Description

N

R

Product (A11 x B11) + (A12 x B21) + (A13 x B31)

or (<S1> x <S10>) + (<S2> x <S13>) + (<S3> x <S16>)

N+1

R

Product (A11 x B12) + (A12 x B22) + (A13 x B32)

or (<S1> x <S11>) + (<S2> x <S14>) + (<S3> x <S17>)

N+2

R

Product (A11 x B13) + (A12 x B23) + (A13 x B33)

or (<S1> x <S12>) + (<S2> x <S15>) + (<S3> x <S18>)

N+3

R

Product (A21 x B11) + (A22 x B21) + (A23 x B31)

or (<S4> x <S10>) + (<S5> x <S13>) + (<S6> x <S16>)

N+4

R

Product (A11 x B12) + (A22 x B22) + (A23 x B32)

or (<S4> x <S11>) + (<S5> x <S14>) + (<S6> x <S17>)

N+5

R

Product (A21 x B13) + (A22 x B23) + (A23 x B33)

or (<S4> x <S12>) + (<S5> x <S15>) + (<S6> x <S18>)

N+6

R

Product (A31 x B11) + (A32 x B21) + (A33 x B31)

or (<S7> x <S10>) + (<S8> x <S13>) + (<S9> x <S16>)

N+7

R

Product (A31 x B12) + (A32 x B22) + (A33 x B32)

or (<S7> x <S11>) + (<S8> x <S14>) + (<S9> x <S17>)

N+8

R

Product (A31 x B13) + (A32 x B23) + (A33 x B33)

or (<S7> x <S12>) + (<S8> x <S15>) + (<S9> x <S18>)

 

 

Specifications:

Spec

Tune

Default

Type

Range

Description

S1

N

5

I

Note 1

Block Address of A11 value

S2

N

5

I

Note 1

Block Address of A12 value

S3

N

5

I

Note 1

Block Address of A13 value

S4

N

5

I

Note 1

Block Address of A21 value

S5

N

5

I

Note 1

Block Address of A22 value

S6

N

5

I

Note 1

Block Address of A23 value

S7

N

5

I

Note 1

Block Address of A31 value

S8

N

5

I

Note 1

Block Address of A32 value

S9

N

5

I

Note 1

Block Address of A33 value

S10

N

5

I

Note 1

Block Address of B11 value

S11

N

5

I

Note 1

Block Address of B12 value

S12

N

5

I

Note 1

Block Address of B13 value

S13

N

5

I

Note 1

Block Address of B21 value

S14

N

5

I

Note 1

Block Address of B22 value

S15

N

5

I

Note 1

Block Address of B23 value

S16

N

5

I

Note 1

Block Address of B31 value

S17

N

5

I

Note 1

Block Address of B32 value

S18

N

5

I

Note 1

Block Address of B33 value

 

NOTES:

1. Maximum values are:9,998 for the BRC-100, IMMFP11/12 and 31,998 for the HAC

 

 

170.1   Explanation

 

The matrix multiplication function code multiplies two three-by-three matrices to form a three-by-three matrix of real values.  Matrices multiply row by column. To form the first row of the product matrix, row one of matrix A multiplies by columns one, two and three of matrix B. The second and third rows of the product matrix form similarly. Row two of matrix A multiplies by columns one, two and three of matrix B to form the second row of the product matrix and row three of matrix A multiplies by columns one, two and three of matrix B to form the last row of the product matrix.

The row by column multiplication sums the products of the like elements to get one value. The first value in row one of matrix A multiplies by the first value in column one of matrix B. That product adds to the products of the second and third values to produce the value in the product matrix as Figure 170-1 shows.