Print Friendly and PDF

Compute the Median of an Array

Ryan Roper -

In this example model, the median is calculated for an array (see 'Script_Median_Vector' and 'Median_Vector'), the individual columns in a matrix (see 'Median_Matrix') and a Time Series Element (see 'Median_TimeSeries'). Script elements and/or basic GoldSim Function elements are used in each of these examples to calculate the median. Enter each of the four containers to see how this is done.

Experience Level:


Download the Model File:


  • script
  • time series
  • matrix
  • vector
  • array
  • statistics
Have more questions? Submit a request