资源简介
FBMC 的 AWGN 信道仿真(matlab实现)
The simulation of FBMC with AWGN channel.
代码片段和文件信息
%% FBMC/OQAM
%% FBMC-AWGN: BER verus SNR for FBMC/OQAM using polyphase structure
%%------------------------------------------------------------------------------------------------------------%%
%
% “Prototype filter and filter bank structure“
% FBMC/OQAM with noise
%%------------------------------------------------------------------------------------------------------------%%
clc
clear all;
%%------------------------------------------------------------------------------------------------------------%%
% Intialization
%%------------------------------------------------------------------------------------------------------------%%
nd=2; %number of OQAM sample per symbols (not change)
M=512;% number of sub-channels
K=4; % overlapping factor(good K=4)
lp=K*M-1;% prototype filter length
SNR= 0:5; % signal to noise ratio
nloop=10; % Number of simulation loops
Rate0= zeros(1 length(SNR));
%%------------------------------------------------------------------------------------------------------------%%
% Design of Prototype Filter
%%------------------------------------------------------------------------------------------------------------%%
% low pass filter FIR
y=[1 0.97195983 sqrt(2)/2 0.23514695 ]; % coefficient of filter when K=4
yy=[1 0.911438 0.411438];% coefficient of filter when K=3
yyy=[1 sqrt(2)/2];% coefficient of filter when K=2
u=lp-1;
s=2*pi/(K*M);
for m=0:u-1
r=m+1;
p(m+1)=y(11)-2*y(12)*cos(r*s)+2*y(13)*cos(2*r*s)-2*y(14)*cos(3*r*s);% prototype filter equation K=4
%p(m+1)=yy(11)-2*yy(12)*cos(r*s)+2*yy(13)*cos(2*r*s); % prototype filter equation K=3
%p(m+1)=yyy(11)-2*yyy(12)*cos(r*s); % prototype filter equation K=2
%p(m+1)=1; % prototype filter equation for OFDM
end
p=[0 p 0]; % extra delay sample (z^-2)
ty=p; %
%%------------------------------------------------------------------------------------------------------------%
%%------------------------------------------------------------------------------------------------------------%%
%%------------------------------------------------------------------------------------------------------------%%
% Transmitter
%%------------------------------------------------------------------------------------------------------------%%
for ebn0=1:length(SNR)
ebn0
for iii=1:nloop
% Data generation
q=2;% binary data
m=4;% modulation level
In_Data=randi([0 q-1]M1);% random input data M x 1
% OQAM Modulation
[OQAM_In_Data]=OQAM_preprocessing(In_DatamM); % OQAM modulation M x nd
%%------------------------------------------------------------------------------------------------------------%%
% Transform Block
%%------------------------------------------------------------------------------------------------------------%%
%% beta carrier
for k
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7575 2013-10-14 08:57 FMBC_OQAM_AWGN.m
文件 510 2013-10-14 08:57 OQAM_postprocessing.m
文件 490 2013-10-13 22:54 OQAM_preprocessing.m
- 上一篇:PLC编程简单程序
- 下一篇:svm支持向量机与nbc朴素贝叶斯算法比较
相关资源
- LBP四种特征提取算法
- matlab开发-GMRESArnoldi
- matlab开发-MuellerStokesJonesCalculus
- MATLAB身份证号码识别系统GUI论文.zip
- 基于MATLAB的心电信号分析及滤波
- 计算图像每个像素邻域方差的matlab程
- matlab实现牛顿-拉夫逊法电力系统潮流
- 八数码问题的MATLAB实现启发式
- 异步电机降压启动matlab仿真
- 最全最新的matlab----findpeaks代码运用
- 基于matlab的灰度图像的多重分形谱
- 基于matlab的坐标变换程序,通过坐标
- 大师级matlab自动寻峰算法,超级实用
- 连续潮流MATLAB程序
- 无人驾驶车辆模型预测控制Matlab代码
- image normalization图像归一化matlab程序
- “群体智能算法”Matlab工具箱 Versio
- MATLAB版大富翁完整版
- 基于MATLAB的傅里叶级数可视化
- matlab电机仿真
- TOA定位两步加权最小二乘MATLAB算法程
- RBF神经网络建模与预测(1)
- 均匀球体重力异常正演模拟Matlab代码
- 基于双线性内插法的图像重采样matl
- 遥感影像融合_数字图像处理的matlab程
- 格子玻尔兹曼MATLAB运用(LBGK_D2Q9_poi
- SVM的matlab代码
- 郑州大学随机信号课程报告—功率谱
- 基于 MATLAB 的身份证号码的识别算法
- 非均匀材料的多尺度均匀化matlab程序
评论
共有 条评论