⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intsinc8.cwp.lib

📁 su 的源代码库
💻 LIB
字号:
INTSINC8 - Functions to interpolate uniformly-sampled data via 8-coeff. sinc		approximations:ints8c	interpolation of a uniformly-sampled complex function y(x) via an	 8-coefficient sinc approximation.ints8r	Interpolation of a uniformly-sampled real function y(x) via a		table of 8-coefficient sinc approximationsFunction Prototypes:void ints8c (int nxin, float dxin, float fxin, complex yin[], 	complex yinl, complex yinr, int nxout, float xout[], complex yout[]);void ints8r (int nxin, float dxin, float fxin, float yin[], 	float yinl, float yinr, int nxout, float xout[], float yout[]);Input:nxin		number of x values at which y(x) is inputdxin		x sampling interval for input y(x)fxin		x value of first sample inputyin		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 a which y(x) is outputxout		array[nxout] of x values at which y(x) is outputOutput:yout		array[nxout] of output y(x):  yout[0] = y(xout[0]), etc.Notes:Because extrapolation of the input function y(x) is defined by theleft and right values yinl and yinr, the xout values are not restrictedto lie within the range of sample locations defined by nxin, dxin, andfxin.The maximum error for frequiencies less than 0.6 nyquist is less thanone percent.Author:  Dave Hale, Colorado School of Mines, 06/02/89

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -