grad_jakes.m

来自「《移动衰落信道》Mobiel_Fading_Channels一书后面的相关仿真程」· M 代码 · 共 30 行

M
30
字号
%-------------------------------------------------------------------- 
% grad_Jakes.m ------------------------------------------------------ 
% 
% Computation of the analytical gradient of the error function for  
% the optimization of the discrete Doppler frequencies (Jakes PSD). 
% 
% Used m-file: acf_mue.m 
%-------------------------------------------------------------------- 
% G=grad_Jakes(x) 
%-------------------------------------------------------------------- 
% Explanation of the input parameters: 
% 
% x: parameter vector to be optimized  
 
function G=grad_Jakes(x) 
 
load data 
 
f_i_n=x; 
r=acf_mue(f_i_n,c_i_n,tau); 
D=Jo-r; 
F=norm(D,p); 
G=[]; 
for k=1:N_i, 
    g=F^(1-p)*D.^(p-1)*(2*pi*c_i_n(k)^2*tau.*... 
      sin(2*pi*f_i_n(k)*tau)).'; 
    G=[G;g]; 
end 

⌨️ 快捷键说明

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