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

📄 channel_rayleigh.m

📁 OFDM的在瑞利信道下的与单载波信号的识别算法
💻 M
字号:
%======================
%   Rayleigh process
%====================== 
function ray_out = channel_Rayleigh(f1,c1,th1,f2,c2,th2,N_sim,T_s,T_start);

% Simulation for Rayleigh process, output is complex Gaussian process %
%此程序建立瑞利信道参数(U(t)=U1(t)+jU2(t))
t = (0:N_sim-1)*T_s + T_start;
ray_out_I = 0;
ray_out_Q = 0;
for k=1:length(f1)
    ray_out_I = ray_out_I + c1(k)*cos(2*pi*f1(k)*t+th1(k));
end    
for k=1:length(f2)
    ray_out_Q = ray_out_Q + c2(k)*cos(2*pi*f2(k)*t+th2(k));
end  

ray_out = ray_out_I + j * ray_out_Q;
%ray_out = abs(ray_out);

⌨️ 快捷键说明

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