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

📄 dspf_sp_biquad.h

📁 详细的OFDM设计过程
💻 H
字号:
/* ======================================================================== */
/*                                                                          */
/*  TEXAS INSTRUMENTS, INC.                                                 */
/*                                                                          */
/*  NAME                                                                    */
/*      DSPF_sp_biquad: Biquad filter (IIR filter of 2nd order)             */
/*                                                                          */
/* USAGE                                                                    */
/*    This routine has following C prototype:                               */
/*                                                                          */
/*    void DSPF_sp_biquad(float *x, float *b, float *a, float *delay,       */
/*                   float *r, int nx)                                      */
/*                                                                          */
/*           x       :  Pointer to input samples                            */
/*           b       :  Pointer to Nr coefs b0, b1, b2                      */
/*           a       :  Pointer to Dr coefs a1, a2                          */
/*           delay   :  Pointer to filter delays                            */
/*           r       :  Pointer to output samples                           */
/*           nx      :  Number of input/output samples                      */
/*                                                                          */
/* DESCRIPTION                                                              */
/*      This routine implements a DF 2 transposed structure of the biquad   */
/*      filter. The transfer function of a biquad can be written            */
/*      as:                                                                 */
/*                                                                          */
/*                                   b(0) + b(1)z^(-1) + b(2)z^(-2)         */
/*                       H(Z) =     _________________________________       */
/*                                    1 + a(1)z^(-1) + a(2)z^(-2)           */
/*                                                                          */
/* ------------------------------------------------------------------------ */
/*            Copyright (c) 2003 Texas Instruments, Incorporated.           */
/*                           All Rights Reserved.                           */
/* ======================================================================== */

#ifndef DSPF_SP_BIQUAD_
#define DSPF_SP_BIQUAD_ 1

void DSPF_sp_biquad (
				float x[], 		//Pointer to input samples
				float b[], 		//Pointer to numerator coefficients b[0], b[1] and b[2]
				float a[], 		//Pointer to denominator coefficients a[1] and a[2]
				float delay[], 	//Pointer to filter delays delay[0] and delay[1]
				float r[], 		//Pointer to output samples
				int	  nx 		//Number of input/output samples
			   );
#endif
/* ========================================================================*/
/*  End of file:  dspf_sp_biquad.h                                         */
/* ------------------------------------------------------------------------*/
/*            Copyright (c) 2003 Texas Instruments, Incorporated.          */
/*                           All Rights Reserved.                          */
/* ========================================================================*/




⌨️ 快捷键说明

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