Owning Class: statistics
Requires: MathScript RT Module
c = median(a)
Computes the median value.
|a||Specifies a vector or matrix.|
|b||Specifies the dimension of a across which to compute the median if a is a matrix. b is a scalar that accepts the following values.
|c||Returns the median of a. If a is a vector, c returns the median value of all elements in a. If a is a matrix, c returns a row vector of column-wise medians or a column vector of row-wise medians. c is a scalar or vector.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Yes|
A = [1:1:15]
C = median(A)