📄 fgn.m
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -