irc2pc.f

来自「是个是LPC源代码」· F 代码 · 共 39 行

F
39
字号
********************************************************************	IRC2PC Version 48*********************************************************************   Convert Reflection Coefficients to Predictor Coeficients** Inputs:*  RC     - Reflection coefficients*  ORDER  - Number of RC's*  GPRIME - Excitation modification gain* Outputs:*  PC     - Predictor coefficients*  G2PASS - Excitation modification sharpening factor*	SUBROUTINE IRC2PC( RC, PC, ORDER, GPRIME, G2PASS )	INCLUDE 'config.fh'	INTEGER ORDER, I, J	REAL RC(ORDER), PC(ORDER), GPRIME, G2PASS, TEMP(MAXORD)	G2PASS = 1.	DO I = 1,ORDER	   G2PASS = G2PASS*( 1. - RC(I)*RC(I) )	END DO	G2PASS = GPRIME*SQRT(G2PASS)	PC(1) = RC(1)	DO I = 2,ORDER	   DO J = 1,I-1	      TEMP(J) = PC(J) - RC(I)*PC(I-J)	   END DO	   DO J = 1,I-1	      PC(J) = TEMP(J)	   END DO	   PC(I) = RC(I)	END DO	RETURN	END

⌨️ 快捷键说明

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