⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mrc_combine.m

📁 超宽带系统链路matlab仿真程序 超宽带系统简单仿真平台
💻 M
字号:
function rx=MRC_combine(Tao,Atten,rt,Tf,Ts,N_bit)
%Tao--------path delays
%Atten------path attenuations
%rt---------received multipath signal
%N_bit------the number of symbols
%Tf---------frame duation
%Ts---------sample period
%Dg----pulse duation
%St---------local reference pulse
%算法是先将多径对齐合并,再相关接收
n_path=length(Tao);%the number of multipath
Total_samples=N_bit*(Tf/Ts);%the number of samples in the overall symbols
com_wei=Atten./sum(Atten.*Atten);%the weigth values to be combined 
for i=1:n_path
    rx(i,:)=com_wei(i)*rt(round(Tao(i)/Ts):(Total_samples-1)+round(Tao(i)/Ts));%对接收信号的延时进行处理
end
%多径合并
if n_path>1
    rx=sum(rx);
else
    rx=rx;
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -