%% Display State Levels and Subhistograms
% Estimate the low- and high-state levels of 2.3 V underdamped clock data. Plot the data with the estimated state levels and subhistograms.

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

statelevels(x)

% Copyright 2015 The MathWorks, Inc.