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

    %% Fall Time of Bilevel Waveform
% Determine the fall time in samples for a 2.3 V clock waveform.

% Copyright 2015 The MathWorks, Inc.


%%
% Load the 2.3 V clock data. Determine the fall time in samples. Use the
% default 10% and 90% percent reference levels. Plot the waveform and
% annotate the fall time.

load('negtransitionex.mat','x')

falltime(x)