필터 지우기
필터 지우기

how to generate a( 226 × 1 ) vector "b" as a zero mean white Gaussian noise (WGN) sequence with variance =0.24e-4 ?

조회 수: 6 (최근 30일)
b=wgn(256,1,??)
with var(p)=0.24e-4

채택된 답변

William Rose
William Rose 2021년 11월 2일
편집: William Rose 2021년 11월 2일
b=wgn(226,1,.24e-4,'linear');
fprintf('Variance of b=%6f\n',var(b))
Variance of b=0.000024
If you run the code above multiple times, you will get slightly different results, since it is (pseudo)random.
  댓글 수: 4

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by