Histogram

Creates a histogram of argument 1 with the number of bins specified by argument 2. The bins are divided evenly between the maximum and minimum values in the argument.

Arguments

Number Type Compulsory Default Description

1

real array

Yes

Vector

2

real

Yes

Number of bins

3

string

No

Options

Argument 1

Vector to be processed.

Argument 2

Number of bins.

Argument 3

Set to 'step' to force output in a stepped style similar to a bar-graph.

Returns

Return type: real array

Notes

Simulator ▶ Choose Analysis... dialog box) or you must interpolate the results using the function Interp.