Create a gist now

Instantly share code, notes, and snippets.

Simulation of multiple white Gaussian noises
function X = simwhite(n, q, va)
% n : the length of time series
% q : the number of time series
% va : the variance of each time series
% Copyright (c) 2012 Wonsang You
% JC Peace and Grace
X = normrnd(0,sqrt(va),n,q);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment