STATMEANDEV

f = STATMEANDEV (var1 [, var2, … , varN])

Mean absolute deviation around arithmetic mean. var1 to varN can be single numbers or arrays.

See: https://en.wikipedia.org/wiki/Average_absolute_deviation

Example

A = [2,2,3,4,14]
print statmeandev(A)    ' Output: 3.6