Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

3x3 Cross Product

Calculate cross product of two 3-by-1 vectors

Library

Utilities/Math Operations

Description

The 3x3 Cross Product block computes cross (or vector) product of two vectors, A and B, by generating a third vector, C, in a direction normal to the plane containing A and B, and with magnitude equal to the product of the lengths of A and B multiplied by the sine of the angle between them. The direction of C is that in which a right-handed screw would move in turning from A to B.

A=a1i+a2j+a3kB=b1i+b2j+b3kC=A×B=|ijka1a2a3b1b2b3|=(a2b3a3b2)i+(a3b1a1b3)j+(a1b2a2b1)k

Inputs and Outputs

InputDimension TypeDescription

First

3-by-1 vector 

Second

3-by-1 vector 

OutputDimension TypeDescription

First

3-by-1 vector 

Introduced before R2006a

Was this topic helpful?