commsrc.combinedjitter
Construct combined jitter generator object
Description
combJitt = commsrc.combinedjitter
constructs a default combined jitter generator object,
combJitt
, with all jitter components
disabled.
Use the object to generate jitter samples that include any combination of random, periodic, and Dirac components.
combJitt = commsrc.combinedjitter(
creates a combined jitter generator object with the specified
property Name
,Value
)Name
set to the specified
Value
. You can specify additional
name-value pair arguments in any order as
(Name1
,Value1
,...,NameN
,ValueN
).
Properties
A combined jitter generator object includes these properties. You can edit all properties, except those explicitly noted.
Property | Description |
---|---|
Type | Type of object, |
SamplingFrequency | Sampling frequency of the input signal in hertz. Default value 1e4. |
RandomJitter | Variable to enable the random jitter generator. Specify as either
|
RandomStd | Standard deviation of the random jitter generator in seconds. Applies when
|
PeriodicJitter | Variable to enable the periodic jitter generator. Specify as either
|
PeriodicNumber | Number of sinusoidal components. The |
PeriodicAmplitude | Amplitude of each sinusoidal component of the periodic jitter in seconds. Applies when
|
PeriodicFrequencyHz | Frequency of each sinusoidal component of the periodic jitter measured in Hz. Applies
when |
PeriodicPhase | Phase of each sinusoidal component of the periodic jitter in radians. Applies when
|
DiracJitter | Variable to enable the Dirac jitter generator. Specify as either
|
DiracNumber | Number of Dirac components. The |
DiracDelta | Time delay of each Dirac component in seconds. Applies when
|
DiracProbability | Probability of each Dirac component represented as a vector of length
|
Object Functions
A combined jitter generator object has three object functions, as described in this section.
generate
This object function generates jitter samples based on the jitter generator object. It has one
input argument, which is the number of samples in a frame. Its
output is a single-column vector of length N
. You
can call this object function using this
syntax:
x = generate(combJitt,N)
combJitt
is the generator object,
N
is the number of output samples, and
x
is a real single-column vector.reset
This object function resets the internal states of the combined jitter generator. You can call this object function using this syntax:
reset(combJitt)
combJitt
is the generator object.disp
Display the properties of the combined generator object, combJitt
. You can
call this object function using this
syntax:
disp(combJitt)
where combJitt
is the generator object.
Examples
Version History
Introduced in R2015a