%% Two Random Variables
% Compute the correlation coefficient matrix between two normally distributed, random vectors of 10 observations each.

A = randn(10,1);
B = randn(10,1);
R = corrcoef(A,B)

% Copyright 2015 The MathWorks, Inc.