I want to generate 36 pairs of numbers on a two-dimensional normal distribution with the covariance matrix C = [1, 0.8; 0.8, 1], the expected value vector is the zero vector (μ=0= (0,0)).
From what I've learnt so far, a matrix A with covariance matrix C could be calculated like this
C = [1, 0.8; 0.8, 1];
A = sqrtm(C);
But how do I generate the 36 pairs of numbers in Matlab?