Read. Observe. Learn. :-) DCW Endeavors

Matrix Multiplier

Multiply one matrix by another matrix.

A matrix is defined as row x column. For instance, a 2 x 3 matrix has 2 rows and 3 columns.

Matrix multiplication must follow the rule where the column of the first matrix must match numerically to the row of the second matrix. If not, the matrix multiplication cannot proceed.

In other words, p must equal p ( p = p ), in both the n x p matrix (your first matrix) and the p x m matrix (your second matrix). The matrix multiplication answer (the product) will have n rows and m columns so it will be a n x m matrix.

n x p * p x m = n x m

Before beginning, here are some important things to note:

If you note any bugs or other issues with this matrix multiplier, please contact dcwendeavors@gmail.com. Thank you.

Steps to use the matrix multiplier
  1. Enter the n, p, p, and m values, making sure both p values are exactly the same.
  2. Click the 'Submit n, p, p, m' button (or click 'Clear Text Boxes' if you need to redo).
  3. You will now see the text boxes to enter the numbers for each matrix you want to multiply together. Enter those numbers carefully, making sure to double check that they are correct.

    NOTE:

    • Enter fractions as decimal numbers.
    • Radical numbers, like the square root of 2, should be a decimal number.
    • Negative numbers are fine to enter.
    • Use the tab key to easily navigate through all the text boxes.

  4. Click the 'Submit Matrices' button.
  5. You will now see all the numbers you entered directly below each matrix.
  6. Click the 'Multiply Matrices' button.
  7. The answer to your matrix multiplication will now appear in another set of text boxes.
  8. 'Reload Program' will clear all the boxes and bring the page back to its original state.

n: p: p: m:  

(first matrix text boxes show up here)

(second matrix text boxes show up here)