📄 berrayleighphaseerror.m
字号:
function [ber] = BerRayleighPhaseError(gammaB,phase)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This is just a utility function to compute the expected BER
% of a signal in Rayleigh fading with phase error in the receiver
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ber = .25*(2-(cos(2*phase)*sqrt(gammaB)*(sqrt(1/(1-sin(2*phase)+((cos(2*phase).^2)*gammaB)))+...
sqrt(1/(1+sin(2*phase)+((cos(2*phase).^2)*gammaB))))));
return
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -