How to implement BPSK modulation?

조회 수: 4 (최근 30일)
aaa bbb
aaa bbb 2014년 1월 11일
Hi all,
I need to implement BPSK modulation to the coded bit sequence (given below) so that the received samples at the output of the matched filter have the form, r_i=±√(Ec )+n_i where Ec is the energy per coded bit, i∈{1,2,…,} , and n_i~N(0,N_0/2) with N_0/2=1. I have quantized voice samples that I have implemented Huffman codes and after that I also needed to implement Linear block codes. Now I have to implement BPSK modulation but I don't know which code should I be using. Anyone familiar with BPSK modulation? Here's my code:
%Huffman Encoding
symbols = [1:17]; % Distinct symbols that data source can produce p = prob_y; % Probability distribution [dict,avglen] = huffmandict(symbols,p); % Create dictionary. comp = huffmanenco(index,dict);
%Applying Linear Block Codes n = 7; k = 4; % Set codeword length and message length. [parmat,genmat] = hammgen(3) code = encode(comp,n,k,'linear/decimal',genmat);

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by