Mathematics    

Vector Products and Transpose

A row vector and a column vector of the same length can be multiplied in either order. The result is either a scalar, the inner product, or a matrix, the outer product.

For real matrices, the transpose operation interchanges aij and aji. MATLAB uses the apostrophe (or single quote) to denote transpose. Our example matrix A is symmetric, so A' is equal to A. But B is not symmetric.

Transposition turns a row vector into a column vector.

If x and y are both real column vectors, the product x*y is not defined, but the two products

and

are the same scalar. This quantity is used so frequently, it has three different names: inner product, scalar product, or dot product.

For a complex vector or matrix, z, the quantity z' denotes the complex conjugate transpose. The unconjugated complex transpose is denoted by z.', in analogy with the other array operations. So if

then z' is

while z.' is

For complex vectors, the two scalar products x'*y and y'*x are complex conjugates of each other and the scalar product x'*x of a complex vector with itself is real.


 Addition and Subtraction Matrix Multiplication