correlated Gaussian noise
by michaelB brost
21 Aug 2008
(Updated 21 Aug 2008)
independent samples of correlated Gaussian vector process
|
Watch this File
|
| File Information |
| Description |
vector generalization of matlab standard function randn() with correlations.
inputs: Rpp - pXp correlation matrix
nSamp - number of samples
outputs: data matrix of size
[p rows X nSamp cols]
sample correlation matrix
example generate a vector of 1000 pairs which are correlated as
[1 -0.3]
[-0.3 1]
R=[1 -0.3; -0.3, 1];
n = 1000;
[x, sampR]=correlatedGaussianNoise(R,n);
disp(sampR) |
| MATLAB release |
MATLAB 7.5 (R2007b)
|
| Other requirements |
tested on R2007b |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com