此程序为简单的MIMO-OFDM仿真程序
%------------------------------------------
% EE359 final project, Fall 2002
% Channel estimation for a MIMO-OFDM system
% By Matloub
%------------------------------------------
clear all;
%close all;
i=sqrt(-1);
Rayleigh=1;
AWGN=0; % for AWGN channel
MMSE=0; % estimation technique
Nsc=64; % Number of subcarriers
Ng=16; % Cyclic prefix length
SNR_dB=[0 5 10 15 20 25 30 35 40]; % Signal to noise ratio
Mt=2; % Number of Tx antennas
Mr=2; % Number of Rx antennas
pilots=[1:Nsc/Ng:Nsc]; % pilot subcarriers
DS=5; % Delay spread of channel
iteration_max=200;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Channel impulse response %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%