필터 지우기
필터 지우기

How to add white gaussian noise to a signal?

조회 수: 2 (최근 30일)
bob98
bob98 2020년 10월 17일
댓글: Adam Danz 2020년 10월 17일
I want to add white gaussian noise to a signal x(t) in matlab but i'm quite confused
should i use awgn() function or x+sigma*randn(size(x))+mu
can someone please explain to me what's the difference between the 2 methods and which one should i use ?
Thank you so much!
  댓글 수: 1
Adam Danz
Adam Danz 2020년 10월 17일
randn merely samples from a normal distribution with mean 0 and std 1. For example, histogram(randn(1,20000))
This answer exaplains the awgn function well,

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by