Navigation

Operators and Keywords

Function List:

C++ API

center.m File Reference


Functions

endif if (nargin< 2) t
 if (isempty(t)) dim
 if (n==1) retval
 elseif (n > 0) if(isvector(x)) retval
 idx (1:ndims(x))

Variables

function retval
else dim = t(1)
endif endif n = size (x, dim)
else mx = sum (x, dim) / n

Function Documentation

elseif ( ,
 
)

idx ( 1:  ndimsx  ) 

if ( = =1  ) 

if ( isempty(t)   ) 

endif if (  ) 


Variable Documentation

else dim = t(1)

else mx = sum (x, dim) / n

endif endif n = size (x, dim)

endif else retval

Initial value:

 center (x, dim)

  if (nargin != 1 && nargin != 2)
    print_usage ()