R = cross(A, B)
R = cross(A, B, dim)
| Parameter | Description |
|---|---|
| A, B | numeric arrays. |
| dim | positive integer scalar: Dimension to operate along. |
| Parameter | Description |
|---|---|
| R | Vector cross Product. |
R = cross(A, B) returns the cross product of A and B.
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)
| Version | Description |
|---|---|
| 1.0.0 | initial version |