资源简介
MIMO成像MATLAB仿真,里面有关于MIMO算法的分析,注释,适合研究MIMO成像人员下载学习。

代码片段和文件信息
function runsim(sim_options)
%examine options
fr_length=sim_options.FrmLen;
Num=sim_options.NumberofPackets;
channel_model=sim_options.ChannelModel;
no_tx_antennas=sim_options.TxDiv;
no_rx_antennas=sim_options.RxDiv;
alpha=sim_options.corr_value;
channel_est=sim_options.Channel_Est;
modulation=sim_options.Modulation;
if channel_est==0
type=‘stbc_per‘;
else
type=‘stbc_est‘;
end
if alpha~=0 & sim_options.Rx_corr==1
type=‘stbc_cor‘;
end
%frame length = 130 symbols
fr_length=130;
%SNR upto 20 dBs
EbNo=[0:2:20];
%N M: number of transmit and receive antennas
N=no_tx_antennas;
M=no_rx_antennas;
%choose type of stbc
switch type
case ‘stbc_per‘
if N==1 & M==2
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc12(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
elseif N==2 & M==2
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc22(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
elseif N==2 & M==1
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc21(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
elseif N==3 & M==4
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc34(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
elseif N==3 & M==1
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc31(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
elseif N==4 & M==4
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc44(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
elseif N==4 & M==1
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc41(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
elseif N==1 & M==4
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc14(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
end
case ‘stbc_est‘
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc22_est(channel_modelfr_lengthNumno_tx_antennasno_rx_antennasmodulation)
case ‘stbc_cor‘
[FER FER_uncoded SER SER_uncoded BER BER_uncoded]=stbc22_cor(channel_modelfr_lengthNumalphano_tx_antennasno_rx_antennasmodulation)
otherwise ‘No coding‘
end
clc;
str1=cd;
str2=sim_options.FileName;
str3=[str1 ‘\‘ str2];
if sim_options.Savefile==1
save(str3);
end
%plot routines. Choose FER/SER/BER as required
figure;
semilogy(EbNoBER_uncoded‘r‘)
hold on
semilogy(EbNoBER‘b‘)
hold off
xlabel(‘SNR [dB]‘)
ylabel(‘BER‘)
axis([min(EbNo) max(EbNo) 1e-6 1e0])
str1=num2str(N);
str2=num2str(M);
str=[str1 ‘x‘ str2];
legend(‘Uncoded‘str);
grid on
str1=‘System:‘;
str2=num2str(N);
str3=num2str(M);
str4=[str1 str2 ‘x‘ str3];
title(str4);
if channel_model==‘AWGN ‘
model=‘AWGN‘;
else
model=‘Rayleigh‘;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2009-04-20 13:39 MIMO\
文件 3122 2004-03-04 12:29 MIMO\runsim.m
文件 2826 2004-03-04 11:02 MIMO\stbc12.m
文件 3101 2004-03-04 11:10 MIMO\stbc14.m
文件 3451 2004-03-04 11:23 MIMO\stbc21.m
文件 3395 2004-03-04 11:23 MIMO\stbc22.m
文件 3628 2004-03-04 11:32 MIMO\stbc22_cor.m
文件 6467 2004-03-04 11:48 MIMO\stbc22_est.m
文件 5205 2004-03-04 11:24 MIMO\stbc31.m
文件 5179 2004-03-04 11:25 MIMO\stbc34.m
文件 5314 2004-03-04 11:25 MIMO\stbc41.m
文件 5303 2004-03-04 11:30 MIMO\stbc44.m
文件 2661 2004-02-16 00:59 MIMO\tx_modulate.m
文件 5551 2004-03-04 11:08 MIMO\ui_check_params.m
文件 3490 2009-01-05 15:51 MIMO\ui_read_options.m
文件 9229 2008-01-01 19:58 MIMO\ui_start.m
文件 85 2004-01-27 20:28 MIMO\ui_start_sim.m
相关资源
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
- k近邻算法matlab实现
评论
共有 条评论