资源简介
Matlab代码,里面写了关于MIMO_OFDM不同信道估计的对比代码,如瑞利信道,莱斯信道等
代码片段和文件信息
%------------------------------------------
% EE359 final project Fall 2002
% Channel estimation for a MIMO-OFDM system
% By Shahriyar 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 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if (Rayleigh)
N=50;
fm=100;
B=20e3;
fd=(rand(1N)-0.5)*2*fm;
theta=randn(1N)*2*pi;
c=randn(1N);
c=c/sum(c.^2);
t=0:fm/B:10000*fm/B;
Tc=zeros(size(t));
Ts=zeros(size(t));
for k=1:N
Tc=c(k)*cos(2*pi*fd(k)*t+theta(k))+Tc;
Ts=c(k)*sin(2*pi*fd(k)*t+theta(k))+Ts;
end
r=ones(Mt*Mr1)*(Tc.^2+Ts.^2).^0.5;
index=floor(rand(Mt*MrDS)*5000+1);
end
MEE1=zeros(1length(SNR_dB));
MEE2=zeros(1length(SNR_dB));
for snrl=1:length(SNR_dB)
snrl
estimation_error1=zeros(Mt*MrNsc);
estimation_error2=zeros(Mt*MrNsc);
R1=besselj(02*pi*fm*(Nsc+Ng)/B);
sigma2=10^(-SNR_dB(snrl)/10);
aa=(1-R1^2)/(1-R1^2+sigma2);
bb=sigma2*R1/(1-R1^2+sigma2);
for iteration=1:iteration_max
%iteration
if AWGN==1
h=ones(Mt*Mr1);
else
phi=rand*2*pi;
h=r(index+iteration)*exp(j*phi);
%h=rand(Mt*MrDS);
h=h.*(ones(Mt*Mr1)*(exp(-0.5).^[1:DS]));
h=h./(sqrt(sum(abs(h).^22))*ones(1DS));
end
CL=size(h2); % channel length
data_time=zeros(MtNsc+Ng);
data_qam=zeros(MtNsc);
data_out=zeros(MrNsc);
output=zeros(MrNsc);
for tx=1:Mt
data_b=0*round(rand(4Nsc)); % data
data_qam(tx:)=j*(2*(mod(data_b(1:)+data_b(2:)2)+2*data_b(1:))-3)+...
2*(mod(data_b(3:)+data_b(4:)2)+2*data_b(3:))-3;
for loop=1:Mt
data_qam(txpilots+loop-1)=(1+j)*(loop==tx); % pilots
end
data_time_temp=ifft(data_qam(tx:));
data_time(tx:)=[data_time_temp(end-Ng+1:end) data_time_temp];
end
for rx=1:Mr
for tx=1:Mt
output_temp=conv(data_time(tx:)h((rx-1)*Mt+tx:));
output(rx:)=output_temp(Ng+1:Ng+Nsc)+output(rx:);
end
np=(sum(abs(output(rx:)).^2)/length(output(rx:)))*sigma2;
noise=(randn(size(
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2006-05-19 21:59 MIMO-OFDM不同信道估计的对比
文件 6052 2006-05-06 21:55 MIMO-OFDM不同信道估计的对比\MIMO_OFDM.m
----------- --------- ---------- ----- ----
6052 2
相关资源
- 仿真mimo的matlab代码
- 基于MATLAB的MIMO通信系统仿真
- 一个教你如何用matlab写mimo系统的程序
-
MIMO-OFDM链路simuli
nk - MIMO的ML检测matlab程序
- MIMO的ZF检测matlab程序
- 多径瑞利信道的matlab仿真程序
- MIMO的OSIC检测算法。基于三种方式。
- MIMO信号MMSE检测算法MATLAB仿真程序
- 无线通信MIMO中STBC的matlab仿真
-
OFDMMIMO仿真实验合集 matlab simuli
nk - MIMO/MASSIVE MIMO 信号检测算法matlab仿真
- mimo预编码=-=
- 注水功率分配
- mimo_detection.m
- 《MIMO-OFDM无线通信技术及MATLAB实现》
- MIMO_OFDM联合仿真的matlab 源程序很完整
- MIMO MMSE、ZF检测
- mimo-ofdm系统fft方法的实现
- MIMO_OFDM.m
- 双基地MIMO雷达目标跟踪算法matlab程序
- MIMO-WSN系统的功率控制仿真
- 无线通信MIMO VBLAST的matlab仿真
- MIMO信道容量随信噪比变化:发送端未
- MIMO信道容量随信噪比变化:发送端未
- MIMO 信道容量 发射端已知、未知CSI的
- mimo ofdm无线通信技术及matlab实现 源代
- MIMO 注水算法 Matlab代码
- Matrix_inversion_Multiuser_MIMO
- MU MIMO sim 无线信道中多用户MIMO的建模
评论
共有 条评论