• Futurama Formulas - Date and time
• Futurama Formulas - Math
• Futurama Formulas - Statistical
• Futurama Formulas - Text
• Futurama Formulas - Logical
• Futurama Formulas - Table
• Futurama Formulas - Document
• Futurama Formulas - Conversion
• Futurama Formulas - Matrix
• Creating custom formulas in Futurama

Module: Editor

Version: 18.03+

Type: Double

Category: Statistical

## Description

The median is the value that separates the higher half of a data sample from the lower half. The formula 'Median' returns the median of a matrix over the rows or the columns of that matrix, depending on the chosen dimension.

## Parameters

Matrix:

The matrix you want to take the median of.

Dimension:

The dimension to take the median over. 1 means downwards (over rows), 2 means rightwards (over columns).

## Example

### Description

In the following example the formula 'Median' is used to take the medians over the rows.

Matrix:

Column1 Column2
1 2
2 7
9 11

Dimension: 1

### Result

Matrix:

Column1
2
7

As you see the results are the medians of the matrix.