The Histogram
object generates a histogram
for an input or a sequence of inputs.
To generate a histogram for an input or a sequence of inputs:
Define and set up your histogram object. See Construction.
Call step
to generate the histogram
for an input according to the properties of dsp.Histogram
.
The behavior of step
is specific to each object in
the toolbox.
Note:
Starting in R2016b, instead of using the 
H = dsp.Histogram
returns
a histogram object, H
, that computes the frequency
distribution of the elements in each input matrix.
H = dsp.Histogram('
returns a histogram object, PropertyName
',PropertyValue
,
...)H
, with
each specified property set to the specified value.
H = dsp.Histogram(
returns
a histogram object, MIN
,MAX
,NUMBINS
,'PropertyName
',PropertyValue
,...)H
, with the LowerLimit
property
set to MIN
, UpperLimit
property
set to MAX
, NumBins
property
set to NUMBINS
and other specified properties
set to the specified values.

Lower boundary Specify the lower boundary of the lowestvalued bin as a realvalued
scalar. 

Upper boundary Specify the upper boundary of the highestvalued bin as a realvalued
scalar. 

Number of bins in histogram Specify the number of bins in the histogram. The default is 

Specify how the histogram calculation is performed over the
data as one of  

Enable output vector normalization Specify whether the histogram object normalizes the output vector, v,
so that $$sum(v)=1$$.
When you set this property to 

Enable calculation over successive Set this property to 

Enable resetting in running histogram mode Set this property to 

Reset condition for running histogram mode Specify the event that resets the running histogram as one of
 
clone  Create histogram object with same property values 
getNumInputs  Number of expected inputs to step method 
getNumOutputs  Number of outputs of step method 
isLocked  Locked status for input attributes and nontunable properties 
release  Allow property value and input characteristics changes 
reset  Reset histogram bin values to zero 
step  Histogram for input data 
This object implements the algorithm, inputs, and outputs described on the Histogram block reference page. The object properties correspond to the block parameters, except:
The Reset port block parameter
corresponds to both the ResetCondition
and the ResetInputPort
object
properties.
The Find histogram over block parameter corresponds to the Dimension property of the object.