Difference between revisions of "MATLAB: Cross product"

From Robotics
Jump to: navigation, search
Line 2: Line 2:
  
  
The cross product is applied using the command ''dot''. Because of the commutative law the order of the arguments doesn't matter.
+
The cross product is applied using the command ''cross''. The commutative law does not hold. So depending on the order of the arguments the resulting vector is the opposite of the other.
  
 
:[[File:matlab-va-cross.png|400px]]
 
:[[File:matlab-va-cross.png|400px]]
 
  
 
[[Category:MATLAB]]
 
[[Category:MATLAB]]
 
[[Category:Matrices]]
 
[[Category:Matrices]]

Revision as of 13:58, 26 September 2014

← Previous: Dot product Matlab.png Web interface  |  MATLAB overview  |  Back to article: Cross product Next: Matrices


The cross product is applied using the command cross. The commutative law does not hold. So depending on the order of the arguments the resulting vector is the opposite of the other.

Matlab-va-cross.png