Main Content

Comm.BPSKModulator

Modulate using BPSK method

Description

Comm.BPSKModulator对象使用二进制相移键方法调节。输出是调制信号的基带表示。输入信号必须是一个离散的二进制值信号。如果输入位为0或1,则调制符号为exp(jθ)or-exp(jθ), 分别。这阶段分组属性指定弧度中θ的值。

使用BPSK方法调节信号:

  1. 创建Comm.BPSKModulator对象并设置其属性。

  2. 用参数调用对象,就好像它是一个函数一样。

要了解有关系统对象如何工作的更多信息,请参阅什么是系统对象?

创建

Description

例子

bpskmodulator= comm.bpskmodulatorCreates a modulator System object™ to modulate input signals using the binary phase shift keying (BPSK) method.

bpskmodulator= comm.bpskmodulator(姓名,,,,Value创建一个BPSK调制器对象,每个指定的属性设置为指定值。您可以按任何顺序指定其他名称值对参数name1,,,,Value1,...,,姓名n,,,,ValueN)。

bpskmodulator= comm.bpskmodulator(阶段,,,,姓名,,,,ValueCreates a BPSK modulator object with the阶段分组属性设置为阶段和指定的其他属性设置为speC一世fied values.

特性

展开全部

除非另有说明,否则属性是nontunable,,,,which means you cannot change their values after calling the object. Objects lock when you call them, and the释放Function unlocks them.

如果财产是可调,您可以随时更改其价值。

有关更改属性值的更多信息,请参见使用系统对象在MATLAB中的系统设计

弧度星座的零点的相位,被指定为标量。

数据类型:双倍的

输出数据类型,,,,specified as'双倍的',,,,'单身的'or'Custom'

数据类型:Char

Fixed-Point Properties

Fixed-point data type of the output, specified as anumerictype((Fixed-Point Designer)具有自动签名的对象。

依赖性

this property applies when you set theOutputDatatype财产为'Custom'

Usage

Description

例子

波形=bpskmodulator(data将BPSK调制应用于输入数据,并返回调制的BPSK基带信号。

输入参数

展开全部

输入信号数据,指定为列向量或矩阵。

数据类型:双倍的

输出参数

展开全部

BPSK modulated baseband signal, returned as a column vector or matrix of the same size as the input signal. For more information about the output datatype, see theOutputDatatype财产。

数据类型:双倍的|单身的|fi
复杂的数字支持:金宝app是的

对象功能

要使用对象函数,请将系统对象指定为第一个输入参数。例如,释放名称的系统对象的系统资源OBJ,,,,use this syntax:

释放((OBJ)

展开全部

星座 计算或绘制理想信号星座
系统对象算法
释放 释放资源并允许更改系统对象属性值和输入特征
重启 Reset internal states of系统对象

例子

全部收缩

this example creates binary data, modulates it, and then displays the data using a scatter plot.

Create binary data symbols

data = randi([0 1],100,1);

创建BPSK调制器系统对象

bpskmodulator = comm.bpskmodulator;

将相位偏移更改为pi/16

bpskmodulator.phaseOffset = pi/16;

调制和绘制数据

moddata = bpskmodulator(data);散点图(moddata)

图散点图包含一个轴对象。带有标题散点图的轴对象包含类型线的对象。该对象表示通道1。

Algorithms

phase modulation is a linear baseband modulation technique in which the message modulates the phase of a constant amplitude signal. Binary Phase Shift Keying (BPSK) is a two phase modulation scheme, where the 0’s and 1’s in a binary message are represented by two different phase states in the carrier signal

s n (( t = 2 e b t b Cos (( 2 π F C t + ϕ n ,,,,

为了 (( n - 1 t b t n t b ,,,, n = 1 ,,,, 2 ,,,, 3 ,,,, ...... 在哪里:

  • ϕn=πm,,,,m∈{0,1}.

  • eb是每位能量。

  • tb是位持续时间。

  • FC是载体频率。

In MATLAB®,,,,the baseband representation of a BPSK signal is

s n (( t = e - 一世 ϕ n = Cos (( π n

这BPSK signal has two phases: 0 andπ。这probability of a bit error in an AWGN channel is

p b = (( 2 e b n 0. ,,,,

在哪里n0.是噪声功率频谱密度。

扩展功能

Introduced in R2012a