Be the first to rate this file! 36 downloads (last 30 days) File Size: 2.13 KB File ID: #21156

correlated Gaussian noise

by michaelB brost

 

21 Aug 2008 (Updated 21 Aug 2008)

No BSD License  

independent samples of correlated Gaussian vector process

Download Now | 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.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
statistics michaelB brost 22 Oct 2008 10:15:25
probability michaelB brost 22 Oct 2008 10:15:25
correlated michaelB brost 22 Oct 2008 10:15:25
gaussian michaelB brost 22 Oct 2008 10:15:25
vector michaelB brost 22 Oct 2008 10:15:25
statustucs michaelB brost 22 Oct 2008 10:15:25
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com