fgn.m
来自「Implement a Rayleigh fading channel simu」· M 代码 · 共 19 行
M
19 行
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Designer:g9664501 地瓣胡
% Date:2007/11/06
% Function:Implement a Rayleigh fading channel simulator based on the
% Filtered Gaussian Noise method
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all;
% Declaration and initialization %
fmT = [0.01 0.1 0.5 1];
axis_index = 201;
sample = 1001;
average_power = 2;
gQ = zeros(length(fmT),sample); % imaginary parts of the complex envelope
gI = zeros(length(fmT),sample); % real parts of the complex envelope
g_complex = zeros(length(fmT),sample); % complex envelope
g_level = zeros(length(fmT),sample); % amplitude of complex envelope
auto_cor = zeros(length(fmT),2*sample-1); % autorrelation
% 璸衡ぃ
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?