cross
Cross product.
📝Syntax
R = cross(A, B)
R = cross(A, B, dim)
📥Input Arguments
Parameter Description
A, B numeric arrays.
dim positive integer scalar: Dimension to operate along.
📤Output Arguments
Parameter Description
R Vector cross Product.
📄Description

R = cross(A, B) returns the cross product of A and B.

💡Examples
A = [1 2 3;4 5 6;7 8 9];
B = [9 8 7;6 5 4;3 2 1];
R = cross(A, B)
R = cross(A, B, 2)
🔗See Also
dot
📚Bibliography
https://en.wikipedia.org/wiki/Cross_product
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub