comm.ACPR
Measure adjacent channel power ratio (ACPR)
Description
The comm.ACPR
System object™ measures the ACPR of an input signal.
To measure the ACPR of an input signal:
Create the
comm.ACPR
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 an ACPR measurement
System object.acpr
= comm.ACPR
sets properties using one or more name-value
arguments. For example, acpr
= comm.ACPR(Name
,Value
)comm.ACPR('NormalizedFrequency',true)
creates
an ACPR measurement object with normalized frequency values.
Properties
Usage
Syntax
Description
measures the ACPR in input data adjChPowRatio
= acpr(signal
)signal
. The measurements are at the
frequency bands specified by the MainChannelFrequency
, MainMeasurementBandwidth
, AdjacentChannelOffset
, and AdjacentMeasurementBandwidth
properties.
[
measures the main channel power, adjChPowRatio
,mainChPow
] = acpr(signal
)mainChPow
. To use this syntax, set
the MainChannelPowerOutputPort
property to true
. The main
channel power is measured within the main channel frequency band specified by the
MainChannelFrequency
and MainMeasurementBandwidth
properties.
[
measures the adjacent channel powers, adjChPowRatio
,adjChPow
] = acpr(signal
)adjChPow
. To use this syntax,
set the AdjacentChannelPowerOutputPort
property to true
. The
adjacent channel powers are measured at the adjacent frequency bands specified by the
AdjacentChannelOffset
and AdjacentMeasurementBandwidth
properties.
[
measures the ACPR, the main channel power, and adjacent channel powers. To use this
syntax, set the adjChPowRatio
,mainChPow
,adjChPow
] = acpr(signal
)MainChannelPowerOutputPort
and AdjacentChannelPowerOutputPort
properties to true
.
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
Algorithms
To comply with the Nyquist sampling theorem, these conditions must be satisfied when you set the frequencies and measurement bandwidths of the main and adjacent channels.
If you set the NormalizedFrequency
property to false
, , where is the sampling frequency specified by the SampleRate
property.
If you set the NormalizedFrequency
property to
true
, .