pulsesep
Separation between bilevel waveform pulses
Syntax
Description
returns the
differences between the mid-reference level instants of the final negative-going transitions of
every positive-polarity pulse and the next positive-going transition. To determine the
transitions that compose each pulse, the S
= pulsesep(x
)pulsesep
function estimates the
state levels of the input waveform by a histogram method. The function identifies all regions
that cross the upper-state boundary of the low state and the lower-state boundary of the high
state.
[
returns the mid-reference level instants s
,initcross
,finalcross
]
= pulsesep(___)finalcross
of the final transition
of each pulse.
[
returns the mid-reference level instants s
,initcross
,finalcross
,nextcross
]
= pulsesep(___)nextcross
of the next detected
transition after each pulse.
[
returns the mid-reference level s
,initcross
,finalcross
,nextcross
,midlev
]
= pulsesep(___)midlev
.
[
returns the pulse separations with additional options specified by one or more name-value
arguments.s
,initcross
,finalcross
,nextcross
,midlev
]
= pulsesep(___,Name,Value
)
pulsesep(___)
plots the signal and darkens the regions
between each pulse where pulse separation is computed. The function marks the location of the
mid crossings and their associated reference level. The function also plots the state levels and
their associated lower and upper boundaries. You can adjust the boundaries using the
'Tolerance'
name-value argument.
Examples
Input Arguments
Output Arguments
More About
References
[1] IEEE® Standard on Transitions, Pulses, and Related Waveforms, IEEE Standard 181, 2003.
Extended Capabilities
Version History
Introduced in R2012a