热搜关键词: 数字信号处理RTOSC语言Linux射频电路

rar

用MATLAB实现的BPSK调制解调源程序

  • 1星
  • 2013-09-22
  • 4.21KB
  • 需要2积分
  • 1次下载
标签: 用MATLAB实现的BPSK调制解调源程序

用MATLAB实现的BPSK调制解调源程序

function  output_frame  =  demodulation(input_modu,  index)%  demodulation  for  IEEE802.11a%  Input:        input_modu,  complex  values  representing  constellation  points%                      index%  Output:      output_frame,  output  bit  stream  (data  unit  is  one  bit)%  In  this  version,  increase  the  quatilization  levels  into  8.%  note:  Matlab  index  starts  from  1Q_length=length(input_modu);QAM_input_I  =  real(input_modu);QAM_input_Q  =  imag(input_modu);output_frame  =  zeros(1,length(input_modu)*index);switch  indexcase  1,        BPSK_Demodu_I  =  [0  1];            %f(m)=(m+1)/2  +  1,  so  I=-1  --->  1,  I=1  --->  2        idx  =  find(QAM_input_I>1);        QAM_input_I(idx)  =  1;        idx  =  find(QAM_input_I<-1);        QAM_input_I(idx)  =  -1;        output_frame  =  BPSK_Demodu_I(round((QAM_input_I+1)/2)  +  1);

展开预览

猜您喜欢

评论

登录/注册

积分规则

意见反馈

求资源

回顶部

推荐内容

热门活动

热门器件

随便看看

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版 版权声明

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved
×