dot

Purpose

Vector dot product.

Synopsis

C = dot(A,B)

Description

C = dot(A,B), where A and B are vectors, returns the dot product of A and B. A and B must be the same size. If A and B are matrices, C is a row vector containing the dot product for the corresponding columns of A and B.

See Also

cross

(c) Copyright 1994 by The MathWorks, Inc.