BPSK调制过程仿真源码程序 - matlab算法设计 - 谷速源码
下载频道> 资源分类> matlab源码> 算法设计> BPSK调制过程仿真源码程序

标题:BPSK调制过程仿真源码程序
分享到:

所属分类: 算法设计 资源类型: 文件大小: 852 Bytes 上传时间: 2016-01-26 22:46:40 下载次数: 6 资源积分:1分 提 供 者: 马云 BPSK调制过程仿真源码程序
内容:
BPSK调制过程仿真源码程序,程序员在编程的过程中可以参考学习使用,希望对IT程序员有用,此源码程序简单易懂、方便阅读,有很好的学习价值!
clc;
clear;
close all;
 
d=[1 0 1 1 0]; % Data sequence
b=2*d-1; % Convert unipolar to bipolar
T=1; % Bit duration
Eb=T/2; % This will result in unit amplitude waveforms
fc=3/T; % Carrier frequency
t=linspace(0,5,1000); % discrete time sequence between 0 and 5*T (1000 samples)
N=length(t); % Number of samples
Nsb=N/length(d); % Number of samples per bit
dd=repmat(d',1,Nsb); % replicate each bit Nsb times
bb=repmat(b',1,Nsb); dw=dd'; % Transpose the rows and columns
dw=dw(:)'; 
% Convert dw to a column vector (colum by column) and convert to a row vector
bw=bb';
bw=bw(:)'; % Data sequence samples
w=sqrt(2*Eb/T)*cos(2*pi*fc*t); % carrier waveform
bpsk_w=bw.*w; % modulated waveform
 
% plotting commands follow
 
subplot(4,1,1);
plot(t,dw); axis([0 5 -1.5 1.5])
 
subplot(4,1,2);
plot(t,bw); axis([0 5 -1.5 1.5])
 
subplot(4,1,3);
plot(t,w); axis([0 5 -1.5 1.5])
 
subplot(4,1,4);
plot(t,bpsk_w,'.'); axis([0 5 -1.5 1.5])
xlabel('time')
 

文件列表(点击上边下载按钮,如果是垃圾文件请在下面评价差评或者投诉):

BPSK调制过程仿真源码程序/
BPSK调制过程仿真源码程序/bpsk.m

关键词: 源码 过程 程序

Top_arrow
回到顶部
联系方式| 版权声明| 招聘信息| 广告服务| 银行汇款| 法律顾问| 兼职技术| 付款方式| 关于我们|
网站客服网站客服 程序员兼职招聘 程序员兼职招聘
沪ICP备19040327号-3
公安备案号:沪公网安备 31011802003874号
库纳格流体控制系统(上海)有限公司 版权所有
Copyright © 1999-2014, GUSUCODE.COM, All Rights Reserved