%% Cross Product of Matrices
% Create two matrices containing random integers.

A = randi(15,3,5)
B = randi(25,3,5)

%
% Find the cross product of A and B.

C = cross(A,B)

% The result, C, contains five independent cross products between the columns of A and B. For example, C(:,1) is equal to the cross product of A(:,1) with B(:,1).
% Copyright 2012 The MathWorks, Inc.