meandev
Compute mean absolute deviation values.
Syntax
m=meandev(x)
m=meandev(x,dim)
Inputs
- x
 - Data sample.
 - dim
 - Dimension on which to perform the calculation.
 
Outputs
- m
 - Mean deviation.
 
Examples
Vector meandev example:
x = [9.3, 10.6, 11.9, 13.3, 15.1, 18.2];
m=meandev(x)
      m = 2.4667
      x = [9.3, 4.8; 10.6, 6.6; 11.9, 8.0; 13.3, 9.3; 15.1, 10.6; 18.2, 11.9];
m=meandev(x)m = [Matrix] 1 x 2
2.46667  2.06667