Home > . > cent.m

cent

PURPOSE ^

Usage: [b] = cent(a, center)

SYNOPSIS ^

function [b] = cent(a, center);

DESCRIPTION ^

 Usage: [b] = cent(a, center)
 Matlab function cent, shift of one-dimensional
 array, so that a(center) is located at b(round((n+1)/2).
 Written to shift a line-spread function array prior to 
 applying a smoothing window.
  a      = input array
  center = location of signal center to be shifted
  b      = output shifted array

  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