Adding two random white gaussian noise signals
11 次查看(过去 30 天)
显示 更早的评论
I want to add one random noise white gaussian noise signal with another random gaussian signal. For example, One signal is:
Asn1 = sqrt(noisepow/2)* (randn(size(As))+1i*(randn(size(As)))); % As is a column matrix of numbers, noisepow is a noise power amplitude value.
Now, if I want to add this with another gaussian white random noise signal with other amplitude value, for example:
Asn2 = sqrt(noisepow1/2)* (randn(size(As))+1i*(randn(size(As)))); % noisepow1 is the noise power amplitude of the 2nd noise signal.
Can I simply add these two like: Asn = Asn1 + Asn2 ?
Or, should I add the real part & imaginary part seperately?
I need some suggestions regarding this. Thanks.
0 个评论
回答(2 个)
Sulaymon Eshkabilov
2021-6-9
编辑:Sulaymon Eshkabilov
2021-6-9
Yes, you should sum both components together. You can also cosnder using MATLAB's built in fcn to generate Gaussian white noise signals, e.g.:
m = ?
n = ?
power = ?
imp = ?
seed1 = 13;
seed2 = 123;
noise1 = wgn( m , n , power , imp , seed1);
noise2 = wgn( m , n , power , imp , seed2);
Noise12 = noise1+noise2;
2 个评论
Sulaymon Eshkabilov
2021-6-10
Sum of two noises is another random noise signal with different phases from the other two. Thus, just a sum of two WGN is what you need to compute here.
Walter Roberson
2021-6-9
format long g
A = randn + 1i*randn
B = randn + 1i*randn
C1 = A+B
C2 = (real(A)+real(B)) + 1i * (imag(A) + imag(B))
C1 - C2
As you can see, the results of adding the parts separately are exactly the same as if you just add the whole numbers together. This is one of the fundamental properties of complex numbers.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!