channel_parameter_jakes.m

来自「OFDM的在瑞利信道下的与单载波信号的识别算法」· M 代码 · 共 19 行

M
19
字号
%======================
% 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 + =
减小字号Ctrl + -
显示快捷键?