如何推导出MFSK16qam误码率公式和误比特率公式

《数字通信原理》习题及解答_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
《数字通信原理》习题及解答
阅读已结束,如果下载本文需要使用
想免费下载本文?
你可能喜欢用心创造滤镜
扫码下载App
汇聚2000万达人的兴趣社区下载即送20张免费照片冲印
扫码下载App
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
人生一年又一年,只要每年都有所积累,有所成长,都有那么一次自己认为满意的花开时刻就好。即使一时不顺,也要敞开胸怀。生命的荣枯并不是简单的重复,一时的得失不是成败的尺度。花开不是荣耀,而是一个美丽的结束,花谢也不是耻辱,而是一个低调的开始。
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
&对实验结果的简单分析和说明
&&&&&& 4B00011011-1-j,-1+j,1-j,1+j
&&&&&& 5C-1-j,-1+j,1-j,1+j
&&&&&& 6QPSKQPSK
&&&&&& QPSK误码率是误比特率的两倍。
MATLAB00011011findforMATLABMATLABMATLAB
Eb = Energy-per-bit
Es = Energy-per-symbol = nEb with n bits per symbol
Tb = Bit duration ,&Rb = Bit Rate,&the bit transmission time&&= 1/Rb
Ts = Symbol duration
N0 / 2 = Noise power spectral density (W/Hz)
Pb = Probability of bit-error
Ps = Probability of symbol-error
Eb/N0&= The&energy per bit to noise power spectral density ratio。It is a normalized signal-to-noise ratio (SNR) measure, also known as the "SNR per bit".
SYMERR Compute number of symbol errors and symbol error rate.[NUMBER,RATIO] = SYMERR(X,Y) compares the elements in the two matrices&X and Y. The number of the differences is output in NUMBER. The ratio of&NUMBER to the number of elements is output in RATIO.&
SNR_DB=[0:1:12]; %Signal-to-noise ratio gradually improve
sum=1000000;
data= randsrc(sum,2,[0 1]); %generate a& random matrix, using&[0 1]
[a1,b1]=find(data(:,1)==0&data(:,2)==0); &%returns the row and column indices of the evaluated&expression which are TRUE.
message(a1)=-1-j; % map [ 0 0] to&225°
[a2,b2]=find(data(:,1)==0&data(:,2)==1);
message(a2)=-1+j;&% map [ 0 1] to 135°
[a3,b3]=find(data(:,1)==1&data(:,2)==0);
message(a3)=1-j;&% map [ 1 0] to&275°
[a4,b4]=find(data(:,1)==1&data(:,2)==1);
message(a4)=1+j;% map [ 0 0] to 45°
scatterplot(message)
title('B')
Eb=A*A*Tb;
P_signal=Eb/Tb;
NO=Eb./(10.^(SNR_DB/10)); %SNR_DB=10.*log10(Eb./NO)
P_noise=NO; %noise power 单边功率谱密度(N0)主要用在复数信号中,双边功率谱密度(N0/2)主要用在实信号中。
sigma=sqrt(P_noise); &
for Eb_NO_id=1:length(sigma)&
&&& noise1=sigma(Eb_NO_id)*randn(1,sum);&
&&& noise2=sigma(Eb_NO_id)*randn(1,sum);&
&&& receive=message+noise1+noise2*j; %previously unconsidered: how to add gaussian noise to the original signal
&&& resum=0;&
&&& total=0;&
&&& m1=find(angle(receive)&=pi/2&angle(receive)&0); &%demodulate the [ 1 1] pattern
&&& remessage(1,m1)=1+j;
&&& redata(m1,1)=1;
&&& redata(m1,2)=1;
&&& m2= find( angle(receive)&pi/2&angle(receive)&=pi);&%demodulate the [ 0 1] pattern
&&& remessage(1,m2)=-1+j;
&&& redata(m2,1)=0;
&&& redata(m2,2)=1;
&&& m3=find( angle(receive)&-pi&angle(receive)&=-pi/2);&%demodulate the [ 0 0] pattern
&&& remessage(1,m3)=-1-j;
&&& redata(m3,1)=0;
&&& redata(m3,2)=0;
&&& m4=find( angle(receive)&-pi/2&angle(receive)&=0);&%demodulate the [ 1 0] pattern
&&& remessage(1,m4)=1-j;
&&& redata(m4,1)=1;
&&& redata(m4,2)=0;
&&& [resum,ratio1]=symerr(data,redata);&% 'symerr' Compute number of symbol errors and symbol error rate
&&& pbit(Eb_NO_id)=resum/(sum*2);&%1000000 symbols --&2000000 bits & &&QPSK: 2bits per symbol
&&& [total,ratio2]=symerr(message,remessage); %Compute number of symbol errors and symbol error rate
&&& pe(Eb_NO_id)=total/&% Calculated according to the definition
scatterplot(receive)
title('C')
Pe=1-(1-1/2*erfc(sqrt(10.^(SNR_DB/10)/2))).^2;
Pbit=1/2*erfc(sqrt(10.^(SNR_DB/10)/2));
semilogy(SNR_DB,pe,':s',SNR_DB,Pe,'-*',SNR_DB,pbit,'-o',SNR_DB,Pbit,':+')
legend('QPSK','QPSK','QPSK','QPSK',1)
xlabel('/dB')
ylabel('P')
阅读(8942)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
在LOFTER的更多文章
loftPermalink:'',
id:'fks_',
blogTitle:'QPSK系统的误码率和星座图MATLAB仿真',
blogAbstract:'
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}通信原理辅导班笔记_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
通信原理辅导班笔记
阅读已结束,如果下载本文需要使用
想免费下载本文?
你可能喜欢}

我要回帖

更多关于 16qam误码率公式 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信