필터 지우기
필터 지우기

rng and randn on matlab

조회 수: 2 (최근 30일)
mingcheng nie
mingcheng nie 2022년 8월 25일
댓글: Ashu 2022년 9월 6일
Hi there,
Can we say this code has a good approximation about the channel coefficient for each SNR?
rng(1)
SNR=10:5:20;
N_frame=100000;
taps=4;
for i=1:length(SNR)
for 1:N_frame
chan_coef=sqrt(1/2)*(randn(1,taps)+1i*randn(1,taps));
...
end
end
My result showed that in one SNR condition, the chan_coef will be extremely small, but didn't appear in other SNR condition
  댓글 수: 1
Ashu
Ashu 2022년 9월 6일
Can you give more clarification on what results you are getting?

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

답변 (0개)

카테고리

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

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by