www.gusucode.com > signal 案例源码程序 matlab代码 > signal/UndershootPercentageInPosttransitionAberrationRegionExample.m
%% Undershoot Percentage in Posttransition Aberration Region % Determine the maximum percent undershoot relative to the high-state level % in a 2.3 V clock waveform. % Copyright 2015 The MathWorks, Inc. %% % Load the 2.3 V clock data. Determine the maximum percent undershoot of % the transition. Determine also the level and sample instant of the % undershoot. In this example, the maximum undershoot in the posttransition % region occurs near index 23. load('transitionex.mat','x') [uu,lv,nst] = undershoot(x) %% % Plot the waveform. Annotate the overshoot and the corresponding sample % instant. undershoot(x); ax = gca; ax.XTick = sort([ax.XTick nst]);