Overshoot metrics of bilevel waveform transitions
OS = overshoot(X)
OS = overshoot(X,FS)
OS = overshoot(X,T)
[OS,OSLEV,OSINST]
= overshoot(...)
[...] = overshoot(...,Name,Value)
overshoot(...)
returns
the greatest absolute deviations larger than the final state levels
of each transition in the bilevel waveform, OS
= overshoot(X
)X
.
The overshoots, OS
, are expressed as a percentage
of the difference between the state levels. The length of OS
corresponds
to the number of transitions detected in the input signal. The sample
instants in X
correspond to the vector indices.
To determine the transitions, overshoot
estimates
the state levels of the input waveform by a histogram method. overshoot
identifies
all intervals which cross the upperstate boundary of the low state
and the lowerstate boundary of the high state. The lowstate and
highstate boundaries are expressed as the state level plus or minus
a multiple of the difference between the state levels. See StateLevel Tolerances.
specifies
the sampling frequency in hertz. The sampling frequency determines
the sample instants corresponding to the elements in OS
= overshoot(X
,FS
)X
.
The first sample instant in X
corresponds to t=0.
specifies
the sample instants, OS
= overshoot(X
,T
)T
, as a vector with the
same number of elements as X
.
[
returns the levels, OS
,OSLEV
,OSINST
]
= overshoot(...)OSLEV
,
and sample instants,OSINST
, of the overshoots
for each transition.
[...] = overshoot(...,
returns
the greatest deviations larger than the final state level with additional
options specified by one or more Name,Value
)Name,Value
pair
arguments.
overshoot(...)
plots the bilevel waveform
and marks the location of the overshoot of each transition as well
as the lower and upper referencelevel instants and the associated
reference levels. The state levels and associated lower and upperstate
boundaries are also plotted.

Bilevel waveform. 

Sample rate in hertz. 

Vector of sample instants. The length of 

Reference levels as a percentage of the waveform amplitude.
The lowerstate level is defined to be 0 percent. The upperstate
level is defined to be 100 percent. The value of Default: 

Specifies the region over which to compute the overshoot. Valid
values for Default: 

Aberration region duration. Specifies the duration of the region over which to compute the overshoot for each transition as a multiple of the corresponding transition duration. If the edge of the waveform is reached, or a complete intervening transition is detected before the duration aberration region duration elapses, the duration is truncated to the edge of the waveform or the start of the intervening transition. Default: 

Lower and upper state levels. Specifies the levels to use for the lower and upper state levels as a twoelement real row vector whose first and second elements correspond to the lower and upper state levels of the input waveform. 

Specifies the tolerance that the initial and final levels of
each transition must be within the respective state levels. The Default: 

Overshoots expressed as a percentage of the state levels. The overshoot percentages are computed based on the greatest deviation from the final state level in each transition. By default overshoots are computed for posttransition aberration regions. See Overshoot. 

Level of the pretransition or posttransition overshoot. 

Sample instants of pretransition or posttransition overshoots. If you specify the sampling frequency or sampling instants, the overshoot instants are in seconds. If you do not specify the sampling frequency or sampling instants, the overshoot instants are the indices of the input vector. 
For a positivegoing (positivepolarity) pulse, overshoot expressed as a percentage is
$$100\frac{(O{S}_{2})}{({S}_{2}{S}_{1})}$$
where O is the maximum deviation greater the highstate level, S_{2} is the high state, and S_{1} is the low state.
For a negativegoing (negativepolarity) pulse, overshoot expressed as a percentage is
$$100\frac{(O{S}_{1})}{({S}_{2}{S}_{1})}$$
The following figure illustrates the calculation of overshoot for a positivegoing transition.
The red dashed lines indicate the estimated state levels. The doublesided black arrow depicts the difference between the high and lowstate levels. The solid black line indicates the difference between the overshoot value and the highstate level.
Each state level can have associated lower and upperstate boundaries. These state boundaries are defined as the state level plus or minus a scalar multiple of the difference between the high state and low state. To provide a useful tolerance region, the scalar is typically a small number such as 2/100 or 3/100. In general, the α% tolerance region for the low state is defined as
$${S}_{1}\pm {\scriptscriptstyle \frac{\alpha}{100}}({S}_{2}{S}_{1})$$
where S_{1} is the lowstate level and S_{2} is the highstate level. Replace the first term in the equation with S_{2} to obtain the α% tolerance region for the high state.
The following figure illustrates lower and upper 2% state boundaries (tolerance regions) for a positivepolarity bilevel waveform. The estimated state levels are indicated by a dashed red line.
[1] IEEE^{®} Standard on Transitions, Pulses, and Related Waveforms, IEEE Standard 181, 2003, pp. 15–17.