RESSINC8 - Functions to resample uniformly-sampled data via 8-coefficient sinc approximations: ress8c resample a uniformly-sampled complex function via 8-coeff. sinc approx. ress8r resample a uniformly-sampled real function via 8-coeff. sinc approx. Function Prototypes: void ress8r (int nxin, float dxin, float fxin, float yin[], float yinl, float yinr, int nxout, float dxout, float fxout, float yout[]); void ress8c (int nxin, float dxin, float fxin, complex yin[], complex yinl, complex yinr, int nxout, float dxout, float fxout, complex yout[]); Input: nxin number of x values at which y(x) is input dxin x sampling interval for input y(x) fxin x value of first sample input yin array[nxin] of input y(x) values: yin[0] = y(fxin), etc. yinl value used to extrapolate yin values to left of yin[0] yinr value used to extrapolate yin values to right of yin[nxin-1] nxout number of x values at which y(x) is output dxout x sampling interval for output y(x) fxout x value of first sample output Output: yout array[nxout] of output y(x) values: yout[0] = y(fxout), etc. Notes: Because extrapolation of the input function y(x) is defined by the left and right values yinl and yinr, the output x values defined by nxout, dxout, and fxout are not restricted to lie within the range of input x values defined by nxin, dxin, and fxin. The maximum error for frequiencies less than 0.6 nyquist is less than one percent. Author: Dave Hale, Colorado School of Mines, 06/06/90