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

📄 pztoco.3

📁 speech signal process tools
💻 3
字号:
.\" Copyright (c) 1986-1990 Entropic Speech, Inc..\" Copyright (c) 1991 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)pztoco.3	1.4 02 Jul 1991 ESI/ERL.TH pz_to_co 3\-ESPSsp 7/1/91.ds ]W (c) 1991 Entropic Research Laboratory, Inc..SH NAME.nfpz_to_co \- convert pole or zero locations to filter coefficients.pz_to_co_d \- convert pole or zero locations to filter coefficients..SH SYNOPSIS.ft B.brint pz_to_co (nroots, real, imag, pnco, co);.brint nroots;.brdouble *real, *imag;.brfloat *co;.brshort *pnco;.spint pz_to_co_d (nroots, real, imag, pnco, co);.brint nroots;.brdouble *real, *imag;.brdouble *co;.brshort *pnco;.ft.sp.SH DESCRIPTION.I pz_to_co and.I pz_to_co_dtake in.I nrootsroot locations and returns thecoefficients for the expanded polynomial.  The root locationsare specified as complex numbers in rectangular form and arepassed to the function in the .I realand.I imagarrays.The resulting polynomial coefficients (starting with order zero)are returned in the.I coarray, and the number of them is returned in the variablepointed to by.I pnco.If a root does not lie on the real axis (i.e. its imaginary part is nonzero)then its complex conjugate is automatically included, and should not bespecified.  Those roots lying on thereal axis are left as is..SH EXAMPLE.nfint nzero;double *real, *imag;	.	.	./* This converts a set of zero locations to a filter record. *//* Assume nzero and the real and imag arrays have been initialized. */oh->hd.filt->max_num = nzero = NUM_COEFF;oh->hd.filt->max_den = 0;frec = allo_filt_rec (oh);pz_to_co (nzero, real, imag, &(frec->filt_func.nsiz), frec->filt_func.zeros); /* Write the filter record to the output file. */write_header (oh, fpout);.fi.SH DIAGNOSTICSNone..SH BUGSNone known..SH SEE ALSOzero_pole (1-ESPS).SH AUTHORBrian Sublett.  pz_to_co_d added by Bill Byrne.

⌨️ 快捷键说明

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