Syntax
r = strange(x) r = strange(x, orientation)
Arguments
- x
real or complex vector or matrix
- orientation
index of the dimension along which the strange is computed. It can be either
- a character
"*"
(default),"r"
or"c"
- a positive integer: 1 or 2. 1 is equivalent to "r" and 2 is equivalent to "c".
- a character
- r
real or complex scalar or vector
Description
The range is the distance between the largest and smallest value, r = strange(x) or r = strange(x, "*") computes the range of vector or matrix x.
r = strange(x,'r') (or equivalently r = strange(x,1)) give a row vector with the range of each column.
r = strange(x,'c') (or equivalently r = strange(x,2)) give a column vector with the range of each row.
Examples
References
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, J.Wiley & Sons, 1990.
Report an issue | ||
<< stdevf | Dispersion | variance >> |