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

📄 maximal_comb.m

📁 The result is an IS-95CDMA forward link software simulation package ,which mimics real-time data com
💻 M
字号:
function combined =Maximal_comb(multipaths,option)

%This is maximo combining in the Rake Receiver
combined1 =zeros([1,12288]);

%we combine the best 3 signals in proportion
%one finger
if option==1
    tweight=0.5;
    combined1=combined1+(0.5/tweight)*multipaths(2).data;
end

%two fingers
if option==2
    tweight =0.5+0.6;
    combined1=combined1+(0.5/tweight)*multipaths(2).data;
    combined1=combined1+(0.6/tweight)*multipaths(3).data;
end

%3 fingers

if option==3
    %we combined the best 3 signals in proportion
    tweight =0.5+0.6+0.7;
    
    combined1=combined1+(0.5/tweight)*multipaths(2).data;
    combined1=combined1+(0.6/tweight)*multipaths(3).data;
    combined1=combined1+(0.7/tweight)*multipaths(5).data;
end

combined=combined1;


⌨️ 快捷键说明

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