%% Peak Envelopes of Speech Signal
% Plot the upper and lower peak envelopes of a speech signal smoothed over 30-sample intervals.

load('mtlb')

envelope(mtlb,30,'peak')

% Copyright 2015 The MathWorks, Inc.