Adding noise vector in Matlab

조회 수: 13 (최근 30일)
zephr nine
zephr nine 2015년 4월 3일
댓글: Star Strider 2015년 4월 3일
Can anyone tell how to add mutually uncorrelated local channel noise vector and global channel noise vector in MATLAB coding?
Noise vectors n ∼ N(0,Rn) and w ∼ N(0,Rw)

채택된 답변

Star Strider
Star Strider 2015년 4월 3일
The Communication System Toolbox has the awgn function. Otherwise, I would use the randn function.
So for example you would define:
n = Rn*randn
w = Rw*randn
with the appropriate ‘size’ arguments to match your vectors.
  댓글 수: 3
Star Strider
Star Strider 2015년 4월 3일
My pleasure!
In my example, ‘Rn’ and ‘Rw’ are the standard deviations. If you define them instead to be variances, my example changes to:
n = sqrt(Rn)*randn
w = sqrt(Rw)*randn
in order to be consistent with the documentation for randn.
Star Strider
Star Strider 2015년 4월 3일
I cannot help you with that, unfortunately. Communications engineering is not an area of my expertise.
I suggest you post that as a new Question, as it is not directly related to this one.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by