📄 channel_parameter_jakes.m
字号:
%======================
% Parameter calculation
%======================
function [f_i_n,c_i_n,theta_i_n] = channel_parameter_Jakes(f_max,N_i)
% Program for the computation of the discrete Doppler frequencies,Doppler coefficients and Doppler phases by using the Jakes power spectral density.
% Method of exact Doppler spread (MEDS) is adopted
% Parameters referred
% N_i: number of harmonic functions
% sigma_0_2: average power of the real deterministic Gaussian process mu_i(t)
% f_max: maximum Doppler frequency
sigma_0_2 = 1/2; % To assure sum(c_i_n) = 1
sigma_0=sqrt(sigma_0_2);
n=(1:N_i)';
f_i_n=f_max*sin(pi/(2*N_i)*(n-1/2));
c_i_n=sigma_0*sqrt(2/(N_i))*ones(size(f_i_n));
theta_i_n=rand(N_i,1)*2*pi; % Randomly generated phase
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -