资源简介
基于MATLAB的16qam的仿真代码,已经运行过没有错误
代码片段和文件信息
%1,导频正负符号
pilot_syms
%2生成的随机序列,后面带六个尾bit
info_bits
%316QAM映射
TX
%4星座图
a=real(TX);
b=imag(TX);
plot(ab‘bx‘)
%5插入导频后的子载波映射
Nst = 52; % Number of total subcarriers
Nsd = 48; % Number of data subcarriers
OFDM_sym = reshape(TX Nsd N_SPF); % Reshape the modulated symbols into OFDM symbols
OFDM_sym = OFDM_sym.‘;
time_sig = zeros(64 N_SPF);
pilot=[111-1];
for m = 1: N_SPF
pilot_num=1;
temp_sym = OFDM_sym(m:);% Modulate symbols to be allocated to the mth OFDM symbol of current frame
temp_pilot = pilot_sym(pilot_num).*pilot(); % Pilot symbols to be allocated to the mth OFDM symbol of current frame
% Allocate the subcarrier frequency according to IEEE802.11a stand. P23subclause (17.3.5.9)
sym_minus_fre = [zeros(16)temp_sym(1:5)temp_pilot(1)temp_sym(6:18)temp_pilot(2)temp_sym(19:24)]; % Allocate symbol to the minus frequency band
sym_plus_fre = [0temp_sym(25:30)temp_pilot(3)temp_sym(31:43)temp_pilot(4)temp_sym(44:48)zeros(15)]; % Allocate symbol to the plus frequency band
sym_IFFT = [sym_plus_fresym_minus_fre]; % Total IFFT symbols
temp = ifft(sym_IFFT)*sqrt(64);
temp = temp.‘;
time_sig(:m) = temp; % IFFT convert frequency symbols to time signals
pilot_num = mod(pilot_num128)+1; % Pilot symbol index + 1
end
cyc_sig = time_sig(49:64:); % Cyclic prefix interval: T_GI = T_FFT/4
signal_total = [cyc_sig;time_sig]; % Add cyclic prefix to the time signal
time_sig=signal_total(:).‘;
%6IFFT之前的序列形式
sym_IFFT‘
%7此时的导频正负号,
pilot_num %第几个
pilot_syms(pilot_num) %正一还是负一?
temp_pilot %此时插入的导频
%8循环前缀
time_sig
cyc_sig
signal_total %完整的符号
%9
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1952 2006-10-17 22:01 16QAM\李由\Baogao.m
文件 3360 2006-09-02 21:07 16QAM\李由\channel_model.m
文件 167 2006-08-01 19:31 16QAM\李由\channel_multipath.m
文件 816 2006-08-01 18:40 16QAM\李由\channel_parameter_Jakes.m
文件 533 2006-08-11 11:42 16QAM\李由\channel_Rayleigh.m
文件 404070769 2007-05-19 18:56 16QAM\李由\IEEE802.11a_OFDM_PHY.txt
文件 5258 2007-05-18 14:07 16QAM\李由\main.asv
文件 5258 2007-05-18 14:11 16QAM\李由\main.m
文件 456 2006-07-29 16:29 16QAM\李由\pilot_generator.m
文件 471 2007-05-17 21:40 16QAM\李由\ry_16qam_demod.asv
文件 475 2006-10-16 20:11 16QAM\李由\ry_16qam_demod.m
文件 14718 2006-07-29 19:39 16QAM\李由\ry_sovadec.m
文件 1208 2007-05-13 16:32 16QAM\李由\ry_time_to_fre.asv
文件 1208 2006-09-02 21:15 16QAM\李由\ry_time_to_fre.m
文件 919 2006-08-12 10:07 16QAM\李由\test_fre_time_conv.m
文件 545 2006-10-16 20:11 16QAM\李由\tx_16qam_mod.m
文件 2316 2006-10-17 22:01 16QAM\李由\tx_fre_to_time.m
目录 0 2011-03-28 11:10 16QAM\李由
目录 0 2011-03-28 11:10 16QAM
----------- --------- ---------- ----- ----
404110647 20
相关资源
-
数字调制simuli
nk仿真.rar - 基于16QAM调制的OFDM系统仿真实现.zip
- 数字基带/带通仿真 含BPSK、QPSK、16Q
- 64QAM系统性能的分析
- 16QAM信号调制解调Matlab仿真,可以运行
- 16qam仿真及注解
- matlab仿真qpsk gmsk msk fsk qam ask
- qam调制误码率比较
-
simuli
nk仿真16QAM调制 -
simuli
nk qam调制 - 16QAM信号调制解调Matlab仿真
- OFDM系统16QAM仿真
- 多进制MASK MPSK MFSK MQAM matlab仿真程序
- OFDM_16QAM
- MATLAB实现的M进制正交幅度调制(MQA
-
16QAM matlab/simuli
nk仿真 - MQAM和MPSK误符号率曲线绘制
- 16QAM研究,眼图,星座图,误码率,噪
- qam_rayleigh.m
- qam星座图仿真
-
simuli
nk QAM - MATLAB仿真AWGN信道中,16QAM和64QAM在不同
- 基于不同调制方式16QAM、64QAM、QPSKOF
- 16QAM调制系统仿真
- 基于k-D树邻近点的彩色星座图绘制
- bpsk qpsk 16qam 的ber方针matlab
- 16QAM调制解调
-
QAM的Simuli
nk仿真 - PCM + QAM调制解调仿真程序Matlab
- 64QAM的matlab调试仿真程序新手自己的理
评论
共有 条评论