How do i add SNR to BPSK modulating signal?
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to add SNR = -20:2:30 in following code
function y = bpskModulator(x,sps)
persistent filterCoeffs
if isempty(filterCoeffs)
filterCoeffs = rcosdesign(0.35, 4, sps);
end
syms = pskmod(x,2); %% syms = 256x1
y = filter(filterCoeffs, 1, upsample(syms,sps)); %% upsampling like (sps-1) e.g 1 0 0 1 if sps = 3
end
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 BPSK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!