V_LPCCC2PF Extrapolate complex cepstrum C=(CC)
0001 function c=v_lpccc2cc(cc,np) 0002 %V_LPCCC2PF Extrapolate complex cepstrum C=(CC) 0003 0004 % Copyright (C) Mike Brookes 1998 0005 % Version: $Id: v_lpccc2cc.m 10865 2018-09-21 17:22:45Z dmb $ 0006 % 0007 % VOICEBOX is a MATLAB toolbox for speech processing. 0008 % Home page: http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html 0009 % 0010 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0011 % This program is free software; you can redistribute it and/or modify 0012 % it under the terms of the GNU General Public License as published by 0013 % the Free Software Foundation; either version 2 of the License, or 0014 % (at your option) any later version. 0015 % 0016 % This program is distributed in the hope that it will be useful, 0017 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0018 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0019 % GNU General Public License for more details. 0020 % 0021 % You can obtain a copy of the GNU General Public License from 0022 % http://www.gnu.org/copyleft/gpl.html or by writing to 0023 % Free Software Foundation, Inc.,675 Mass Ave, Cambridge, MA 02139, USA. 0024 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0025 0026 p=size(cc,2); 0027 if nargin<2 np=p; end 0028 if np<=p 0029 c=cc(:,1:np); 0030 else 0031 c=v_lpcar2cc(v_lpccc2ar(cc),np); 0032 end 0033 0034