資源簡介
Matlab仿真BPSK,BFSK,BASK,BDPSK相干解調以及非相干解調的誤碼率。
代碼片段和文件信息
clc;
clear;
close?all;
gama?=?[-10:0.1:20];???%%Eb/N0(dB)
gama_decimal?=?power(10gama./10);
%--------------------------------------------相干解調------------------------------------------------%
BASK_coherent?=?erfc(sqrt(gama_decimal./2))./2;
BFSK_coherent?=?erfc(sqrt(gama_decimal./2))./2;
BPSK_coherent?=?erfc(sqrt(gama_decimal))./2;
BDPSK_coherent?=?erfc(sqrt(gama_decimal));
%-----------------------------------------------------------------------------------------------------%
%-------------------------------------------非相干解調-----------------------------------------------%
BASK_non?=?exp(gama_decimal./(-2))./2;
BFSK_non?=?exp(gama_decimal./(-2))./2;
BPSK_non?=?exp(-gama_decimal)./2;
BDPSK_non?=?exp(gama_decimal./(-2))./2;
%---
評論
共有 條評論