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