Version

Histogram(Vector,Int32,Vector) Method

Returns a histogram of the data in the Vectorx using N evenly-spaced bins.
Syntax
'Declaration
 
Public Overloads Shared Function Histogram( _
   ByVal x As Vector, _
   ByVal N As Integer, _
   ByRef axis As Vector _
) As Vector
public static Vector Histogram( 
   Vector x,
   int N,
   out Vector axis
)

Parameters

x
A Vector of data.
N
The number of evenly-spaced bins.
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 N is less than one.
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