Version

Histogram(Vector,Vector,Vector) Method

Returns a histogram of the data in the Vectorx by binning the data using a sequence of bin edges.
Syntax
'Declaration
 
Public Overloads Shared Function Histogram( _
   ByVal x As Vector, _
   ByVal edges As Vector, _
   ByRef axis As Vector _
) As Vector
public static Vector Histogram( 
   Vector x,
   Vector edges,
   out Vector axis
)

Parameters

x
A Vector of data.
edges
edges[n] and edges[n+1] are the edges of the nth bin.
axis
The bin centers that correspond to the values of the histogram.

Return Value

A Vector containing the histogram of x.
Exceptions
ExceptionDescription
System.ArgumentException Occurs when there are less than two edges.
System.ArgumentException Occurs if x is empty.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also