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

📄 adf_sim.m

📁 《移动衰落信道》Mobiel_Fading_Channels一书后面的相关仿真程序。
💻 M
字号:
%-------------------------------------------------------------------- 
% adf_sim.m --------------------------------------------------------- 
% 
% Program for the computation of the average duration of fades T_(r). 
% 
% Used m-files: cdf_sim.m, lcr_sim.m 
%-------------------------------------------------------------------- 
% adf=adf_sim(xi_t,r,T_sim,PLOT) 
%-------------------------------------------------------------------- 
% Explanation of the input parameters: 
% 
% xi_t: deterministic process or time-domain signal to be analysed  
%       with respect to the average duration of fades T_(r) 
% r: equidistant level vector 
% T_sim: duration of the simulation 
% PLOT: plot of the resulting average duration of fades T_(r),  
%       if PLOT==1 
 
function adf=adf_sim(xi_t,r,T_sim,PLOT) 
 
cdf=cdf_sim(xi_t,r); 
lcr=lcr_sim(xi_t,r,T_sim); 
 
adf=cdf./lcr; 
 
if PLOT==1, 
   plot(r,adf,'yx') 
   xlabel('r') 
   ylabel('T_(r)') 
end 

⌨️ 快捷键说明

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