You are here : matlab → Signal Processing → overshoot
# overshoot() - Signal Processing

### Syntax

### Example

### Output / Return Value

### Limitations

### Alternatives / See Also

### Reference

OS = overshoot(X) returns the greatest absolute deviations larger than the final state levels of each transition in the bilevel waveform, 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 upper-state boundary of the low state and the lower-state boundary of the high state. The low-state and high-state boundaries are expressed as the state level plus or minus a multiple of the difference between the state levels. See State-Level Tolerances.OS = overshoot(X,FS) specifies the sampling frequency in hertz. The sampling frequency determines the sample instants corresponding to the elements in X. The first sample instant in X corresponds to t=0.OS = overshoot(X,T) specifies the sample instants, T, as a vector with the same number of elements as X.[OS,OSLEV,OSINST] = overshoot(...) returns the levels, OSLEV, and sample instants,OSINST, of the overshoots for each transition.[...] = overshoot(...,Name,Value) returns the greatest deviations larger than the final state level with additional options specified by one or more 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 reference-level instants and the associated reference levels. The state levels and associated lower and upper-state boundaries are also plotted.

OS = overshoot(X)OS = overshoot(X,FS)OS = overshoot(X,T)[OS,OSLEV,OSINST] = overshoot(...)[...] = overshoot(...,Name,Value)overshoot(...)

Overshoot Percentage in Posttransition Aberration RegionOpen This Example Determine the maximum percent overshoot relative to the high-state level in a 2.3 V clock waveform. Load the 2.3 V clock data. Determine the maximum percent overshoot of the transition. Determine also the level and sample instant of the overshoot. In this example, the maximum overshoot in the posttransition region occurs near index 22.load('transitionex.mat','x') [oo,lv,nst] = overshoot(x) oo = 6.1798 lv = 2.4276 nst = 22 Plot the waveform. Annotate the overshoot and the corresponding sample instant.overshoot(x); ax = gca; ax.XTick = sort([ax.XTick nst]); Overshoot Percentage, Levels, and Time Instant in Posttransition Aberration RegionOpen This Example Determine the maximum percent overshoot relative to the high-state level, the level of the overshoot, and the sample instant in a 2.3 V clock waveform. Load the 2.3 V clock data with sampling instants. The clock data are sampled at 4 MHz.load('transitionex.mat','x','t') Determine the maximum percent overshoot, the level of the overshoot in volts, and the time instant where the maximum overshoot occurs. Plot the result.[os,oslev,osinst] = overshoot(x,t) overshoot(x,t); os = 6.1798 oslev = 2.4276 osinst = 5.2500e-06 Overshoot Percentage, Levels, and Time Instant in Pretransition Aberration RegionOpen This Example Determine the maximum percent overshoot relative to the low-state level, the level of the overshoot, and the sample instant in a 2.3 V clock waveform. Specify the 'Region' as 'Preshoot' to output pretransition metrics. Load the 2.3 V clock data with sampling instants. The clock data are sampled at 4 MHz.load('transitionex.mat','x','t') Determine the maximum percent overshoot, the level of the overshoot in volts, and the sampling instant where the maximum overshoot occurs. Plot the result.[os,oslev,osinst] = overshoot(x,t,'Region','Preshoot') overshoot(x,t,'Region','Preshoot'); os = 4.8050 oslev = 0.1020 osinst = 4.7500e-06