필터 지우기
필터 지우기

bit eror rate

조회 수: 1 (최근 30일)
itsik
itsik 2011년 6월 10일
댓글: Walter Roberson 2017년 11월 25일
hello lets say i have this random bits bits= randint(1,1000)
and after few math functions i get x=(1,1000) how do i calculate and make a plot of the ber when i make this math function 10 times for 10 diffrents snr? thanks!
  댓글 수: 2
Abdelwahab Fawzy
Abdelwahab Fawzy 2017년 11월 25일
please, can I get the ApplySNR function?
Walter Roberson
Walter Roberson 2017년 11월 25일
ApplySNR is your own function for transforming the bits according to the given SNR. For example you might use awgn() and then make a decision about the result.

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

채택된 답변

Walter Roberson
Walter Roberson 2011년 6월 11일
SNR = [1, 2, 5, ... whatever]
N = length(SNR);
ber = zeros(N,1);
for K = 1:N
x = ApplySNR(bits, SNR(K));
ber(K) = mean(x ~= bits);
end
plot(SNR, ber);
Where ApplySNR is your function for transforming the bits according to the given SNR.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Test and Measurement에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by