Home > . > centroid.m

centroid

PURPOSE ^

function [loc] = centroid(x)

SYNOPSIS ^

function [loc] = centroid(x)

DESCRIPTION ^

 function [loc] = centroid(x)
  Returns centroid location of a vector
   x = vector
   loc = centroid in units of array index
       = 0 error condition avoids division by zero, often due to clipping
  Author: Peter Burns, 1 Oct. 2008
  Copyright (c) 2007 Peter D. Burns

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 27-Jul-2009 13:44:16 by m2html © 2003