e***r 发帖数: 37 | 1 help cross
CROSS Vector cross product.
C = CROSS(A,B) returns the cross product of the vectors
A and B. That is, C = A x B. A and B must be 3 element
vectors.
C = CROSS(A,B) returns the cross product of A and B along the
first dimension of length 3.
C = CROSS(A,B,DIM), where A and B are N-D arrays, returns the cross
product of vectors in the dimension DIM of A and B. A and B must
have the same size, and both SIZE(A,DIM) and SIZE(B,DIM) must be 3.
Note: Use |
|