Mathematics Previous page   Next Page

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 a sub i j and a sub j i. 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, where the sign of the complex part of each element is reversed. The unconjugated complex transpose, where the complex part of each element retains its sign, is denoted by z.'. 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.


Previous page  Adding and Subtracting Matrices Multiplying Matrices Next page

© 1994-2005 The MathWorks, Inc.