To multiply a matrix by a number, multiply each element of the matrix by that number. For example, to multiply a 2x2 matrix by 2, multiply each element by 2. Similarly, to multiply by 3, multiply each element by 3. This process works for any real, imaginary, fractional or decimal number. Matrix addition and subtraction can only be done on matrices with the same dimensions, by adding or subtracting the corresponding elements. For scalar multiplication, each element of the product matrix is the scalar multiplied by the corresponding element of the original matrix.