Home > freetb4matlab > statistics > base > center.m

center

PURPOSE ^

% If @var{x} is a vector, subtract its mean.

SYNOPSIS ^

function retval = center (x, dim)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} center (@var{x})
% @deftypefnx {Function File} {} center (@var{x}, @var{dim})
% If @var{x} is a vector, subtract its mean.
% If @var{x} is a matrix, do the above for each column.
% If the optional argument @var{dim} is given, perform the above
% operation along this dimension
% @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