sinusoids.m

来自「Implement a Rayleigh fading channel simu」· M 代码 · 共 21 行

M
21
字号
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Designer:g9664501 地瓣胡
% Date:2007/11/06
% Function:Implement a Rayleigh fading channel simulator based on the
% Sum of Sinusoids method
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all;
%  Declaration and initialization  %
fmT=[0.01 0.1];
M=[8 16];
sample=7001;
axis_index=201;
N=4*M+2;
Alpha=0;
gI=zeros(length(M)*length(fmT),sample); % real parts of the complex envelope 
gQ=zeros(length(M)*length(fmT),sample); % imaginary parts of the complex envelope 
g_complex=zeros(length(M)*length(fmT),sample); % complex envelope
g_level=zeros(length(M)*length(fmT),axis_index); % amplitude of complex envelope
auto_cor=zeros(length(M)*length(fmT),2*sample-1); % autorrelation

% 璸衡M=8&16だ

⌨️ 快捷键说明

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