%% Covariance of Two Vectors
% Create two vectors and compute their 2-by-2 covariance matrix.

A = [3 6 4];
B = [7 12 -9];
cov(A,B)

% Copyright 2015 The MathWorks, Inc.