Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual
Version:

    Computes the cross product of two arrays.

    Syntax

    c = cross(a, b)
    c = cross(a, b, dim)

    Inputs

    a

    Array of any dimension.

    b

    Array. b must be the same size as a.

    dim

    Dimension in which MathScript computes the cross product. The dim-th dimension of a and b must contain exactly 3 elements. dim can be in a range of 1 to the maximum supported array dimension (32). If you do not specify dim, the function works on the first dimension whose size is 3.

    Outputs

    c

    Cross product of a and b. c is an array of the same size as a and b.