www.gusucode.com > signal 案例源码程序 matlab代码 > signal/PulseWidthOfBilevelWaveformExample.m
%% Pulse Width of Bilevel Waveform % Compute the pulse width of a bilevel waveform sampled at 4 MHz. %% load('pulseex.mat','x','t') w = pulsewidth(x,t) %% % Plot the waveform and annotate the pulse width. pulsewidth(x,t);