Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. N = 10; % desired number of samples of each variable
  2. mu = [10; 10]; % vector of means
  3. cov = [3 1; 1 3]; % covariance matrix
  4. samples = mvnrnd(mu, cov, N);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement