EngeeComms.BPSKModulator
Modulates data using the BPSK method.
Library |
EngeeComms |
Block |
Description
The EngeeComms.BPSKModulator system object modulates a signal using the binary phase shift keying (BPSK) method.
To BPSK modulate a signal, perform the following steps:
-
Create an EngeeComms.BPSKModulator object and set its properties.
-
Call the object with arguments as if it were a function.
To learn more about how to work with system objects, see Engee system objects.
Syntax
Creation
-
object = EngeeComms.BPSKModulator
creates a system object for binary phase shift keying (BPSK) signal modulation, with by default properties. Example:bpskmodulator = EngeeComms.BPSKModulator()
-
object = EngeeComms.BPSKModulator(Name=Value)
creates a system object to modulate a signal using the Binary Phase Shift Keying (BPSK) method, with each specified property Name (name) set to the specified Value (value). You can specify additional arguments as a name-value pair in any order (Name1=Value1
,…, NameN=ValueN
). Example:bpskmodulator = EngeeComms.BPSKModulator(Variance=4)
-
object = EngeeComms.BPSKModulator(phase=Name=Value)
creates a system object to modulate a signal using the Binary Phase Shift Keying (BPSK) method, with each specified property Name (name) set to the specified Value (value) and the specified value of the PhaseOffset property. You can specify additional arguments as a name-value pair in any order (Name1
=Value1
,…,NameN
=ValueN
). Example:bpskmodulator = EngeeComms.BPSKModulatorBaseband(PhaseOffset = pi/4)
Arguments
Input arguments
data -
input signal data
vector-column
| matrix
Details
Input signal data specified as a column vector or matrix.
Типы данных |
|
Output arguments
waveform -
BPSK modulated baseband signal
vector-column
| matrix
Details
A BPSK-modulated wideband signal returned as a column vector or matrix of the same size as the input signal. See the OutputDataType property for details on the output data type.
Типы данных |
|
Support for complex numbers |
Yes |
Properties
PhaseOffset -
zero point phase shift
0 (By default)
| scalar
Details
Zero point phase shift in radians.
- Типы данных
-
Float64
OutputDataType -
output data type
Float64 (by default)
Details
Output data type. Defined as:
-
Float64 (by default)
.
- Типы данных
-
char
Optional
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 biphase modulation scheme in which 0
and 1
in a binary message are represented by two different phase states in the carrier signal.
for
where
-
, ;
-
- initial phase shift;
-
- energy per bit;
-
- bit duration;
-
- carrier frequency.
The basic representation of a BPSK signal is as follows:
The probability of a bit error in the AWGN channel is:
where is the spectral power density of noise.