freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

通信課程設(shè)計--psk通信系統(tǒng)性能仿真-wenkub.com

2025-01-10 19:20 本頁面
   

【正文】 function [y]=Qfunct(x)% [y]=Qfunct(x)% QFUNCT evaluates the Qfunction. % y = 1/sqrt(2*pi) * integral from x to inf of exp(t^2/2) dt.% y = (1/2) * erfc(x/sqrt(2)).y=(1/2)*erfc(x/sqrt(2))。 % a uniform random variable in (0,1) z=sgma*(sqrt(2*log(1/(1u))))。elseif nargin == 1, sgma=m。ps=numofsymbolerror/N。 end。 symbolerror=1。 decis2=0。angle(rr)=(pi/4)), decis1=0。 elseif (angle(rr)(pi/4)amp。 decis2=1。 end。 (dsource2(i)==1)), r=s01+n。 n(2)=gngauss(sgma)。end。 dsource2(i)=0。 dsource2(i)=0。s11=[1 0]。 % energy per symbolsnr=10^(snr_in_dB/10)。概率P39。,1)。,39。)。*39。 % theoretical biterror rate echo off 。end。for i=1:length(SNRindB1), [pb,ps]=cm_sm322(SNRindB1(i))。通過在MATLAB平臺上進行M文件編程,增強系統(tǒng)分析與設(shè)計數(shù)字通信系統(tǒng)的技能,有效地提高Matlab的應用能力。試驗中用的是將r向量與作為標準的s向量作向量積后選取最大者的方法。 % signaltonoise ratio theo_err_prb(i)=Qfunct(sqrt(2*SNR))。ps=numofsymbolerror/N。 end。 symbolerror=1。,最后對符號差錯和比特差錯計數(shù)。 elseif(angle(rr)(3*pi/4)amp。 decis2=1。angle(rr)=(3*pi/4)), decis1=1。 再求出信號集{}中選取其相位最接近的信號,通過求相位角angle函數(shù)代替actan函數(shù): if (angle(rr)(3*pi/4)amp。 方法二:根據(jù)設(shè)計要求,用另一種檢測器。 decis2=1。 decis2=1。 % The decision on the ith symbol is made next. c_max=max([c00 c01 c10 c11])。所以《現(xiàn)代通信系統(tǒng)matlab版(第二版)》: c00=dot(r,s00)。 else r=s11+n。 elseif ((dsource1(i)==0) amp。檢測器觀察到接收信號向量r=Sm+n,由 程序:for i=1:N, % The received signal at the detector, for the ith symbol, is: n(1)=gngauss(sgma)。end。 dsource2(i)=0。 dsource2(i)=0。2. 為了完成這個任務,利用一個隨機數(shù)列發(fā)生器,它會產(chǎn)生(0,1)范圍內(nèi)的均勻隨機數(shù)。 % noise variance% the signal mappings00=[1 0]。五、調(diào)制與測試1. 先產(chǎn)生一個4種符號(2比特)的序列,將它映射到相應的4相信號點,如圖中M=4的情況所示程序:N=10000。對的一種好的近似式是 式中比特/符號。據(jù)此,得到相關(guān)準則為 ,m=0,1,…,M1由于全部信號都具有相等的能量,因此,對數(shù)字相位調(diào)制一種等效的檢測器標準是計算接收信號向量r=(,)的相位為 并從信號集{}中選取其相位最接近的信號。圖一從AWGN信道中
點擊復制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1