Documentation

Contents

comm.DBPSKModulator System object

Package: comm

Modulate using DBPSK method

Description

The DBPSKModulator object modulates using the differential binary phase shift keying method. The output is a baseband representation of the modulated signal.

To modulate a signal using differential binary phase shift keying:

  1. Define and set up your DBPSK modulator object. See Construction.

  2. Call step to modulate a signal according to the properties of comm.DBPSKModulator. The behavior of step is specific to each object in the toolbox.

Construction

H = comm.DBPSKModulator creates a modulator System object™, H. This object modulates the input signal using the differential binary phase shift keying (DBPSK) method.

H = comm.DBPSKModulator(Name,Value) creates a DBPSK modulator object, H, with each specified property set to the specified value. You can specify additional name-value pair arguments in any order as (Name1,Value1,...,NameN,ValueN).

H = comm.DBPSKModulator(PHASE,Name,Value) creates a DBPSK modulator object, H. This object has the PhaseRotation property set to PHASE, and the other specified properties set to the specified values.

Properties

PhaseRotation

Additional phase shift

Specify the additional phase difference between previous and current modulated bits in radians as a real scalar value. The default is 0. This value corresponds to the phase difference between previous and current modulated bits when the input is zero.

OutputDataType

Data type of output

Specify output data type as one of double | single. The default is double.

Methods

cloneCreate DBPSK modulator object with same property values
getNumInputsNumber of expected inputs to step method
getNumOutputsNumber of outputs from step method
isLockedLocked status for input attributes and nontunable properties
releaseAllow property value and input characteristics changes
resetReset states of DBPSK modulator object
stepModulate using DBPSK method

Examples

Modulate data using DBPSK modulation, and visualize the data in a scatter plot.

% Create binary data symbols
    data = randi([0 1], 96, 1);
% Create a DBPSK modulator System object and set the phase rotation to pi/4
    hModulator = comm.DBPSKModulator(pi/4);
% Modulate and plot the data
    modData = step(hModulator, data);
    scatterplot(modData)

Algorithms

This object implements the algorithm, inputs, and outputs described on the DBPSK Modulator Baseband block reference page. The object properties correspond to the block parameters.

Was this topic helpful?