correlated Gaussian noise
No License
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)
Cite As
michaelB brost (2025). correlated Gaussian noise (https://www.mathworks.com/matlabcentral/fileexchange/21156-correlated-gaussian-noise), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Correlation and Convolution >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |