statelevels Calling Sequence levels=statelevels(x, nbins, method, bounds) [levels histogram]=statelevels(x, nbins, method, bounds) [levels histogram bins]=statelevels(x, nbins, method, bounds) [levels histogram bins]=statelevels(x, nbins, method, bounds, 'fig', On or Off) Parameters x: real vector nbins: number of histogram bins to use in the histogram as a positive scalar, where the default value is 100 method: method to estimate the statelevels using specified METHOD as one of 'mean' or 'mode', where the default value is 'mode' bounds: specify the lower and upper bound for the histogram as a two-element row vector fig: specify the logical input value to display figure as one of 'on' or 'off', where the default input in 'off'. levels: return lower and upper level values histogram: return histogram values bins: return binlevels values Examples See also Authors Jitendra Singh