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

📄 channelcorr.m

📁 可用于3G/B3G系统当中的快衰信道的jakes模型的matlab仿真 作者已经将它用于ofdm系统
💻 M
字号:
% This function generates pulse response of channel
% Jakes model
% ll represent the number of path
% t is time. 
% fd=115 
function f=channelcorr(fd,t,ll)
s=35;
rand('state',ll);

h1=0;
h2=0;
for k=1:s-1
    sita(k)=2*pi*rand;
    h1=h1+sqrt(2)/sqrt(s-1/2)*cos(pi*k/(s-1))*cos(2*pi*fd*cos(pi*k/(2*s-1))*t+sita(k));
    h2=h2+sqrt(2)/sqrt(s-1/2)*sin(pi*k/(s-1))*cos(2*pi*fd*cos(pi*k/(2*s-1))*t+sita(k));
end
sita(s)=rand;
h1=h1+1/(sqrt(2)*sqrt(s-1/2))*cos(2*pi*fd*t+sita(s));
h2=h2+1/(sqrt(2)*sqrt(s-1/2))*cos(2*pi*fd*t+sita(s));
f(1,1)=h1+j*h2;

⌨️ 快捷键说明

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