Version

Histogram(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 _
) As Vector
public static Vector Histogram( 
   Vector x,
   Vector edges
)

Parameters

x
A Vector of data.
edges
edges[n] and edges[n+1] are the edges of the nth bin.

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 7, 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