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

📄 mcm_channel_model.m

📁 是关于空时编码的nrs
💻 M
字号:

%=============================================
% Monte Carlo method for a time-variant channel modelling 
% Sun Jie-ting
% 11.10.04, Ecust
%=============================================
function [h,t_next] = MCM_channel_model(u, initial_time, number_of_summations, symbol_duration, f_dmax, channel_coefficients);


t = initial_time;



Channel_Length = length(channel_coefficients);





h_vector = [];


for k=1:Channel_Length;
    u_k = u(k,:); % A random variable
    phi = 2 * pi * u_k; % Phase coefficients are created
    f_d = f_dmax * sin(2*pi*u_k); % Doppler frequency after Monte Carlo method is created
    h_tem= channel_coefficients(k)* 1/(sqrt(number_of_summations)) * sum(exp(j*phi).*exp(j*2*pi*f_d*t));
    h_vector = [h_vector,  h_tem];
end;

h = h_vector;
t_next = initial_time + symbol_duration; %Coherent time for the next symbol

    

⌨️ 快捷键说明

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