This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


System object: dsp.StateLevels
Package: dsp

Estimate state levels for bilevel rectangular waveform


LEVELS = step(sl,X)



Starting in R2016b, instead of using the step method to perform the operation defined by the System object™, you can call the object with arguments, as if it were a function. For example, y = step(obj,x) and y = obj(x) perform equivalent operations.

LEVELS = step(sl,X) returns a 2-element row vector, LEVELS, containing the estimated state levels for X. X is a real-valued column vector.

[LEVELS,HISTOGRAM] = step(sl,X) returns a double-precision column vector, HISTOGRAM, containing the histogram of the sample values in X. You can obtain this output only when you set the Method property to either 'Histogram mean' or 'Histogram mode', and you set the HistogramOutputPort property to true.

Was this topic helpful?