资源简介
基于MATLAB的QPSK在瑞利、高斯和莱斯信道下仿真
代码片段和文件信息
%--------------------------------------------------------------------------
%Simulate a QPSK system (without coding) write a summary report
%in MS Word file containing the fo llowing items together with the
%necessary analysis & discussions
%1. system diagram;
%2. error performance (BER-EbNo curve) under
% (1) AWGN channel
% (2) Rayleigh fading channel and
% (3) Ricean fading channel.
% All BER-EbNo curves should be drawn in one figure with the
%same scaling together with the theoretical AWGN performance.
%--------------------------------------------------------------------------
function main
clear;
SNR = 0:1:10; % Range of SNR values in dB.
for n = 1:length(SNR)
pbawgn(n) = QPSK_AWGN_Simu(SNR(n));
pbrayleigh(n) = QPSK_Rayleigh_Simu(SNR(n));
pbricean(n) = QPSK_Ricean_Simu(SNR(n));
end
% Compute theoretical performance results for comparison.
BERtheoryAWGN = berawgn(SNR‘psk‘4‘nondiff‘);
BERtheoryRayleigh = berfading(SNR‘psk‘41);
BERtheoryRice = berfading(SNR‘PSK‘414);
% Plot BER results.
semilogy(SNRBERtheoryAWGN‘k-‘SNRpbawgn‘k*‘SNRBERtheoryRayleigh‘b-‘SNRpbrayleigh‘b*‘SNRBERtheoryRice‘m-‘SNRpbricean‘m*‘);
legend(‘Theoretical AWGNBER‘‘Simulated AWGNBER‘‘Theoretical rayleighBER‘‘Simulated rayleighBER‘‘Theoretical riceanBER‘‘Simulated riceanBER‘);
xlabel(‘SNR (dB)‘);
ylabel(‘BER‘);
title(‘BER of awgnrayleighricean‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1671 2012-11-28 15:56 程序\QPSK_AWGN_Simu.m
文件 1721 2012-11-28 15:56 程序\QPSK_Rayleigh_Simu.m
文件 1796 2012-11-28 15:56 程序\QPSK_Ricean_Simu.m
文件 1473 2012-11-28 15:59 程序\main.m
目录 0 2012-11-28 16:04 程序\
- 上一篇:矩阵位移法_MATLAB程序
- 下一篇:基于matlab的直接序列扩频仿真
相关资源
- Pattern Recognition and Machine Learning(高清
- MATLAB 编程 第二版 Stephen J. Chapman 著
- 均值滤波和FFT频谱分析Matlab代码
- 《MATLAB扩展编程》代码
- HDB3码、AMI码的MATLAB实现
- 3点GPS定位MATLAB仿真
- MATLAB数字信号处理85个实用案例精讲入
- matlab从入门到精通pdf94795
- 欧拉放大论文及matlab代码
- 跳一跳辅助_matlab版本
- 全面详解LTE MATLAB建模、仿真与实现
- MIMO-OFDM无线通信技术及MATLAB实现_孙锴
- MATLAB Programming for Engineers 4th - Chapman
- matlab 各种谱分析对比
- 分数阶chen混沌matlab程序
- 基于粒子群算法的非合作博弈的matl
- MATLAB车流仿真 包括跟驰、延误
- matlab空间桁架计算程序
- 基于MATLAB的图像特征点匹配和筛选
- DMA-TVP-FAVAR
- GPS信号的码捕获matlab代码.7z
- 一维光子晶体MATLAB仿真代码吸收率折
- newmark法源程序
- 传统关联成像、计算鬼成像matlab
- pri传统分选算法
- 摆动滚子推杆盘形凸轮设计
- 医学图像重建作业matlab源码
- Matlab实现混沌系统的控制
- 检测疲劳驾驶
- Matlab锁相环仿真-Phase Locked Loop.rar
评论
共有 条评论