rtfft.h

来自「FFT FUNCTION "C" SOURCE CODE」· C头文件 代码 · 共 50 行

H
50
字号
/*****************************************************************/
/*							         */
/*   Copyright (c) Quinn-Curtis, 1991, 1992                      */
/*							         */
/*   Filename:  RTFFT.H                                          */
/*   Revision:  3.0                                              */
/*   Date:      2/3/92                                         */
/*						                 */
/*   Description: -Routines for fourier analysis &               */
/*     	          -digital filtering                             */
/*****************************************************************/
#ifdef __cplusplus
extern "C" {
#endif

#ifndef realtype
#include "rtstdhdr.h"
#endif


void rtwindowfftdata(realtype *xreal, realtype *yimag,
		   unsigned  numdat, int window);
void rtinitfftsintables(unsigned n);
void rtfreefftsintables(void);
void rtfftcalc(realtype *xreal,
	     realtype *yimag,
	     unsigned numdat);
void rtfftinvcalc(realtype *xreal, realtype *yimag,
		unsigned numdat);
void rtrealfft ( realtype *x, realtype *sinc, int n, int inverse);
realtype rtfftmagnitude(realtype *xr, realtype *yi, int n, int i);
realtype rtfftphase (realtype *xr, realtype *yi, int i);
realtype rtfftfrequency (int n, realtype samplefreq, int i);
void rtpowerspectrumcalc(realtype *xreal, realtype *yimag,
		       unsigned numdat, realtype delta);
void rtfft2dcalc(matstruct *xreal, matstruct *yimag,
	       int c, int r, int flag);
void rtconvolve(realtype *filtcoef, realtype *x, realtype *y,
	      unsigned filtlen, unsigned alen);
void rtfreqresponse(realtype *filtcoef,
	  realtype *a,
	  unsigned n, unsigned k);
void rtfreqsamplefir(realtype *filtcoef,
		   realtype fp,
		   unsigned n, unsigned dc,unsigned filttype, unsigned win);

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

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