www.gusucode.com > signal 案例源码程序 matlab代码 > signal/MidReferenceLevelInstantsDefiningPulseSeparationExample.m
%% Mid-Reference Level Instants Defining Pulse Separation % Determine the mid-reference level instants that define the pulse % separation for a bilevel waveform. % Copyright 2015 The MathWorks, Inc. load('pulseex.mat','x','t') [~,~,finalcross,nextcross] = pulsesep(x,t) %% % Return the pulse separation. Annotate the mid-reference level instants on % a plot of the data. pulsesep(x,t)