public
Last active

Simulation of multiple white Gaussian noises

  • Download Gist
simwhite
1 2 3 4 5 6 7 8 9 10 11 12
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);
 
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.