MATLAB Matlab - creating Gaussian noise

Click For Summary
To create a matrix of complex Gaussian noise with unit power and a mean of zero, the approach involves generating two independent real Gaussian matrices. The code snippet provided uses the `randn` function to create two matrices, A and B, filled with normally distributed random numbers. The complex matrix C is then formed by combining A and B, where A represents the real part and B represents the imaginary part, using the formula C = A + j*B. To ensure the matrix has unit power, normalization may be required after generating the complex matrix. This method is effective for defining a test sample for algorithms that require complex noise characteristics.
fizzziks
Messages
25
Reaction score
0
Does anyone know how to create a matrix of complex Gaussian noise (with unit power = 1 and mean of zero)? I need to define a test sample for my algorithm, but I'm stuck at defining my test bench.

Any help would be appreciated, thanks!
 
Physics news on Phys.org
A = randn(n,n)
B = randn(n,n)
C = A + j*B
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
11
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K