直接型fir低通滤波c语言程序,FIR低通滤波器C语言实现

27, 15:53:51

/****************************************************************************

*

* Name: FirAlgs.c

*

* Synopsis: FIR filter algorithms for use in C

*

* Description:

*

* This module provides functions to implement Finite ImpulseResponse (FIR)

* filters using a variety of algorithms.

*

* These functions use most or all of the following inputparameters:

*

* input - the input sample data

* ntaps - the number of taps in the filter

* h[] - the FIR coefficient array

* z[] - the FIR delay line array

* *p_state - the "state" of the filter; initialize thisto 0 before

* the first call

*

* The functions fir_basic, fir_shuffle, and fir_circular arenot very

* efficient in C, and are provided here mainly to illustrateFIR

* algorithmic concepts. However, the functions fir_split,fir_double_z

* and fir_double_h are all fairly efficient ways to

implement FIR filters

* in C.

*

* Copyright 2000 by Grant R. Griffin

*

* Thanks go to contributors of comp.dsp for teaching me someof these

* techniques, and to Jim Thomas for his review and great

suggestions.

*

* The Wide Open License (WOL)

*

* Permission to use, copy, modify, distribute and sell thissoftware and its

* documentation for any purpose is hereby granted without fee,provided that

* the above copyright notice and this license appear in all

第 1 页

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值