www.gusucode.com > signal 案例源码程序 matlab代码 > signal/OvershootPercentageLevelsInstantPosttransitionRegionExample.m

    %% Overshoot Percentage, Levels, and Time Instant in Posttransition Aberration Region
% 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.

% Copyright 2015 The MathWorks, Inc.


%%
% 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);