decoder.m
来自「These files in Matlab implement a conven」· M 代码 · 共 22 行
M
22 行
%% Reception of the modulated QPSK signal
%% Description
function [user_info_recv ]=decoder(amp_estimate,index);
global Fs Fc Ts Nsamp Tb pn_seqI pn_seqQ t SG amp_est
%** Note that amp_estimate is in polar form **%
x_recv=amp_estimate;
[walshcode,W]=walsh(64,index);
Z1=repmat(walshcode,1,(length(x_recv)/SG));
x_recv=x_recv.*Z1;
user_info_recv=intdump(x_recv,SG);
% Z2=reshape(x_recv,SG,(length(x_recv)/SG));
% user_info_recv=sum(Z2,1)/SG; % The actual user_info decoded
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?