comm.PhaseFrequencyOffset
Apply phase and frequency offsets to input signal
Description
The comm.PhaseFrequencyOffset
System object™ applies phase and frequency offsets to an input signal.
To apply phase and frequency offsets to an input signal:
Create the
comm.PhaseFrequencyOffset
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
creates a phase and frequency offset object.pfo
= comm.PhaseFrequencyOffset
specifies additional properties using name-value arguments. For example,
pfo
= comm.PhaseFrequencyOffset(Name=Value
)comm.PhaseFrequencyOffset(SampleRate=20)
creates a phase
and frequency offset object and sets a sample rate of 20 Hz. You can specify
additional name-value pair arguments in any order as
(Name1=Value1,...,NameN=ValueN)
.
Properties
Usage
Description
applies phase and frequency offsets to an input signal. To use this syntax, set
the Y
= pfo(X
)FrequencyOffsetSource
to "Property"
.
specifies the frequency offset to apply to Y
= pfo(X
,fOffset
)X
. To use this
syntax, set the FrequencyOffsetSource
to "Input port"
.
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
More About
Algorithms
If the input signal is u(t), then the output signal is
where f(t) is the frequency offset, and φ(t) is the phase offset.
The discrete-time output is given by
where i > 0, and Δt is the sample time.
Extended Capabilities
Version History
Introduced in R2012a