Académique Documents
Professionnel Documents
Culture Documents
Program:
% Ergodic Capacity of Nr x Nt fading MIMO Channel with
% no channel knowledge at the transmitter.
clc
clear all;
%%%%%%%%%%%%%%%%%%%%%%%% Initialization %%%%%%%
%%%%%%%%%%%%%%%%%
N=30000;
% Number of Iterations for H
No=1;
% Noise Variance
%%%%%%%%%%%%%%%%%%%%%%%% Number of antennas %%%%
%%%%%%%%%%%%%%%%%%%
nt=input('Number of transmitting antenna:');% Number of Transmit antennas
nr=input('Number of receiving antenna:'); % Number of Receive antennas
%%%%%%%%%%%%%%%%%%%%%%%% Correlation of antennas %%
%%%%%%%%%%%%%%%%%%%%%
rhot=0;
% Correlation coefficient (Transmitter)
rhor=0;
% Correlation coefficient (Receiver)
Rt=ExponencorrMrtx (nt,rhot); % Correlation Matrix Rt
Rr=ExponencorrMrtx (nr,rhot);% Correlation Matrix Rr
%%%%%%%%%%%%%%%%%%%%%%% SNR of Channel %%%%%%%
%%%%%%%%%%%%%
SNRdB=[0:1:15];
l=length (SNRdB);
SNR=zeros (1,l);
% Signal-to-Noise Ratio
fprintf(' SNR(dB)
Output:
(a)
(i)Plot capacity vs SNR for Nr=4, Nt=4 with numerical results
2
14
nt=4,nr=4
nt=6,nr=4
nt=8,nt=4
12
10
SNR (dB)
10
15
Description:
The main objective of this experiment is to observe the changes in capacity with
respect to SNR if the number of transmitters are increased. If the number of
receivers is kept constant and transmitter numbers are varied upward then
channel capacity will slightly increase which is advantageous to wireless
communication.
(b)
(i)Plot capacity vs SNR for Nr=4, Nt=4 with numerical results
12
nt=4,nr=4
nt=3,nr=4
nt=2,nr=4
10
SNR (dB)
10
15
Description:
The main objective of this experiment is to observe the changes in capacity with
respect to SNR if the number of transmitters are decreased. If the number of
receivers is kept constant and transmitter numbers are varied downward then
channel capacity will decrease. It is disadvantageous to wireless
communication.
(c)
(i) Plot of capacity vs SNR for Nr=4, Nt=4 with numerical results
(ii)Plot of capacity vs SNR for Nr=6, Nt=4 with numerical results
(iii) Plot of capacity vs SNR for Nr=8, Nt=4 with numerical results
16
14
12
10
8
6
4
2
0
SNR (dB)
10
15
Description:
The main objective of this experiment is to observe the changes in capacity with
respect to SNR if the number of receivers are increased. If the number of
transmitters is kept constant and receiver numbers are varied upward then
channel capacity will increase. It is very much advantageous to wireless
communication.
(d)
(i)Plot of capacity vs SNR for Nr=4, Nt=4 with numerical results
(ii)Plot of capacity vs SNR for Nr=3, Nt=4 with numerical results
5
12
nt=4,nr=4
nt=4,nr=3
nt=4,nr=2
10
SNR (dB)
10
15
Description:
The main objective of this experiment is to observe the changes in capacity with
respect to SNR if the number of receivers are decreased. If the number of
transmitters is kept constant and receiver numbers are varied downward then
channel capacity will decrease. It is very much disadvantageous to wireless
communication.