Home > freetb4matlab > statistics > base > range.m

range

PURPOSE ^

% If @var{x} is a vector, return the range, i.e., the difference

SYNOPSIS ^

function y = range (x, dim)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} range (@var{x})
% @deftypefnx {Function File} {} range (@var{x}, @var{dim})
% If @var{x} is a vector, return the range, i.e., the difference
% between the maximum and the minimum, of the input data.
%
% If @var{x} is a matrix, do the above for each column of @var{x}.
%
% If the optional argument @var{dim} is supplied, work along dimension
% @var{dim}.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003