Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
polefilt.f
Package: celp_3.2a.tar.gz [view]
Upload User: szhypcb168
Upload Date: 2007-01-06
Package Size: 2187k
Code Size: 2k
Category:
Voice Compress
Development Platform:
Unix_Linux
- C==========================================================================
- C
- C ROUTINE
- C polefilt
- C
- C FUNCTION
- C Direct form all-pole filter
- C
- C SYNOPSIS
- C subroutine polefilt(a, n, z, xy, len)
- C
- C formal
- C
- C data I/O
- C name type type function
- C -------------------------------------------------------------------
- C a real i N+1 filter coefficients
- C n int i Filter order
- C z real i N+1 filter delay elements
- C (maintained by the user)
- C (z(0) is a dummy delay)
- C xy real i/o Input/Output data array
- C len int i Number of samples to filter
- C
- C==========================================================================
- C
- C DESCRIPTION
- C
- C Recursive all-pole in-place time-domain filter.
- C The transfer function 1/A(z) is implemented
- C in a direct form realisation.
- C
- C N -i
- C H(z) = 1 / SUM a(i)z with a(0) = +1.0
- C i=0
- C
- C NOTE: a(0) is not used for the actual computing,
- C as can easily be seen in the following flow graph.
- C
- C x(t) ->---+------->--------(z0)-----> y(t)
- C | |
- C +-------< -a1 ----z1
- C | |
- C +-------< -a2 ----z2
- C | |
- C : :
- C | |
- C +-------< -aN ----zN
- C
- C==========================================================================
- C
- C CALLED BY
- C
- C celp confg impulse postfilt
- C
- C CALLS
- C
- C
- C
- C==========================================================================
- C
- C REFERENCES
- C
- C Oppenheim & Schafer, Digital Signal Processing, PH, 1975, p. 149.
- C
- C**************************************************************************
- C*-
- subroutine polefilt(a, n, z, xy, len)
- implicit undefined(a-z)
- integer n, len
- real a(0:n), z(0:n), xy(len)
- integer t, j
- c
- if (a(0) .ne. 1.0) stop 'polefilt: bad coefficients'
- c
- do 69 t = 1, len
- z(0) = xy(t)
- do 10 j = n, 1, -1
- z(0) = z(0) - a(j)*z(j)
- z(j) = z(j-1)
- 10 continue
- xy(t) = z(0)
- 69 continue
- return
- end