How to implement BPSK modulation?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur BPSK dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!