MIMO信道容量的Matlab仿真程序
%% Simulation of Capacity of MIMO channel
% Author: alpswy
% Email: alpswy@gmail.com
% Revise History:
% 2009-08-22 Created
%% Parameters for normal simulation
ChanType = 'Rayleigh'; % AWGN, Rayleigh, CorrRayleigh, Rice
LOOP = 10000; % number of channel tap samples
const = 1/sqrt(2); % constant number
NT = 4; % number of receive antennas
NR = 4; % number of transmit antennas
SNRdB = 10; % SNR in dB
SNRdec = 10^(0.1*SNRdB); % SNR in decibel
%% Parameters for displaying
numGroup = 100; % variable used to count samples
Range_MIN = 0; % minimum value of figure
Range_MAX = 6; % maximum value of figure
%% Parameters for simulation of correlation of channel
rho_t = 0;
rho_r = 0;
%% Parameters for simulation of Rice channel
K = 1; % Rice factor
D = sqrt(K);
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载
- 1
- 2
- 3
前往页