cross

Purpose

Vector cross product.

Synopsis

C = cross(A,B)

Description

C = cross(A,B), where A and B are three-element vectors, returns the vector cross product C = AxB. If A and B are 3-by-n matrices, C contains the cross products of the corresponding columns.

See Also

dot

(c) Copyright 1994 by The MathWorks, Inc.