Home > voicebox > lpcaa2dl.m

lpcaa2dl

PURPOSE

LPCAA2DL LPC: Convert area coefficients to dct of log area DL=(AA)

SYNOPSIS

function dl=lpcaa2dl(aa)

DESCRIPTION

`LPCAA2DL LPC: Convert area coefficients to dct of log area DL=(AA)`

CROSS-REFERENCE INFORMATION

This function calls:
• rdct RDCT Discrete cosine transform of real data Y=(X,N,A,B)
This function is called by:

SOURCE CODE

```0001 function dl=lpcaa2dl(aa)
0002 %LPCAA2DL LPC: Convert area coefficients to dct of log area DL=(AA)
0003
0004 % note: we do not correct for sinc distortion; perhaps we should multiply by
0005 % k=1:p-1;s=[sqrt(0.5)/p 2*sin(pi*k/(2*p))./(pi*k)];
0006
0007
0008
0009 %      Copyright (C) Mike Brookes 1998
0010 %      Version: \$Id: lpcaa2dl.m 713 2011-10-16 14:45:43Z dmb \$
0011 %
0012 %   VOICEBOX is a MATLAB toolbox for speech processing.
0014 %
0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0016 %   This program is free software; you can redistribute it and/or modify
0018 %   the Free Software Foundation; either version 2 of the License, or
0019 %   (at your option) any later version.
0020 %
0021 %   This program is distributed in the hope that it will be useful,
0022 %   but WITHOUT ANY WARRANTY; without even the implied warranty of
0023 %   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0024 %   GNU General Public License for more details.
0025 %
0026 %   You can obtain a copy of the GNU General Public License from
0027 %   http://www.gnu.org/copyleft/gpl.html or by writing to
0028 %   Free Software Foundation, Inc.,675 Mass Ave, Cambridge, MA 02139, USA.
0029 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0030
0031 [nf,p2]=size(aa);
0032 dl=rdct(log(aa(:,2:p2-1)./aa(:,p2*ones(1,p2-2))).').';
0033
0034```

Generated on Mon 06-Aug-2018 14:48:32 by m2html © 2003