function stddev
Returns the standard deviation of X, optionally omitting a value.
Syntax
result = stddev(X [, omit])
Arguments
| X: | A matrix. |
| omit: | A value to be omitted when calculating the standard deviation. |
Switches
| /x: | Calculate the standard deviation along the first axis |
| /y: | Calculate the standard deviation along the second axis |
| /z: | Calculate the standard deviation along the third axis |
| /xy: | Calculate the standard deviation along the first and second axes |
| /xz: | Calculate the standard deviation along the first and third axes |
| /yz: | Calculate the standard deviation along the second and third axes |
Examples
To get a 1D vector of the standard deviation of all slices along a 3D cube:
v = stddev(cube, /xy)
See also
function max
function min
function avg
function total
function median
function stddev
function variance
function meddev
