No BSD License  

Highlights from
correlated Gaussian noise

5.0

5.0 | 2 ratings Rate this file 13 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)

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.
Comments and Ratings (2)
04 Oct 2011 SaeidBK  
28 Jan 2012 Ghulam Rasool

Thanks

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
statustucs michaelB brost 22 Oct 2008 10:15:25
vector michaelB brost 22 Oct 2008 10:15:25
gaussian michaelB brost 22 Oct 2008 10:15:25
gaussian sandarikari 16 Aug 2011 00:56:16

Contact us at files@mathworks.com