class="resources" Median - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Median

Finds the median value of the input sequence X by sorting the values of X and selecting the middle element(s) of the sorted array. Details  Example

X is the input sequence. If X is empty, median is NaN.
median is the calculated median value of the input sequence X.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Median Details

The Median VI finds median using the following identity.

where n is the number of elements in the input sequence X, s is the sorted sequence of X, , and .

Example

Refer to the Statistics Solver VI in the labview\examples\analysis\statxmpl.llb directory for an example of using the Median VI.

 


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit