ofdm_errors.m

来自「Experiments on effects of synchonization」· M 代码 · 共 15 行

M
15
字号
% Illustration of the effects of paramter errors in OFDM
% EE252 - San Jose State University - March 2004
 
% T=4e-6;         % OFDM symbol duration
% Ts=T/96;        % Sample time
% Nsim = 2000;    % Number of symbols simulated
% Tsim = Nsim*4e-6;  % Total simulation time

SNR = input('Signal-to-noise ratio in dB: ');
dT = input('Static timing error (integer multiple of Ts, 0 to 79): ');
e = input('Receiver clock error (0 to 1): ');
df = input('Local oscillator frequency offset (Hz): ');
dtheta = input('Static phase offset (degrees): ');

sim('ofdm');

⌨️ 快捷键说明

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