MATLAB AWGN 채널을 통과한 신호의 복조
- 최초 등록일
- 2010.10.07
- 최종 저작일
- 2010.06
- 25페이지/ MS 워드
- 가격 3,200원
소개글
본 리포트는 FSK과 QPSK modulation의 두 단계로 나뉘어져 있다. 기본적으로 노이즈 채널의 상태는 모두 같으며, 이를 FSK와 QPSK의 두 가지 변조 방법을 통해 채널을 통과시키고, 마찬가지로 복조를 거친 후 이를 원본 신호와 비교분석을 한다. 각 단계별로 함수가 작성되어있어 쉽게 응용 가능하다. 본 과제는 전부 영문으로 작성되었다.
목차
<Problem 1 – binary encoding>
<Problem 2 – FSK modulation scheme>
<Problem 3 – QPSK modulation scheme>
본문내용
<Problem 1 – binary encoding>
Given input signal, the quantization and bit encoding process are done with the following codes, which are also used in project #1, a little modified.
function[quantized,lv]=quant(data,n)
m=2^n;
mn=min(data);
d=(max(data)-mn)/(m-1);
lv=ones(length(data),1);
quantized=ones(length(data),1);
for i=1:length(data)
lv(i)=round((data(i)-mn)/d);
quantized(i)=mn+d*lv(i);
end
↑MATLAB code for a function of n-bit level quantization
function[encod,lv]=bitenc(data,n)
[~,lv]=quant(data,n);
encod=ones(length(data)*n,1);
for i=1:length(data)
bt=bitget(lv(i),n:-1:1);
bt=bt(end:-1:1);
for j=1:n
encod(n*(i-1)+j)=bt(j);
end
end
참고 자료
없음