# v_lpccc2cc

## PURPOSE

V_LPCCC2PF Extrapolate complex cepstrum C=(CC)

## SYNOPSIS

function c=v_lpccc2cc(cc,np)

## DESCRIPTION

    V_LPCCC2PF Extrapolate complex cepstrum C=(CC)

## CROSS-REFERENCE INFORMATION

This function calls:

- v_lpcar2cc V_LPCAR2CC LPC: Convert AR filter to complex cepstrum [CC,C0]=(AR,NP)
- v_lpccc2ar V_LPCCC2AR Convert complex cepstrum to ar coefficients AR=(CC)

This function is called by:

- v_lpccc2db V_LPCCC2DB Convert complex cepstrum to dB power spectrum DB=(CC,NP,NC)
- v_lpccc2ff V_LPCCC2FF Convert complex cepstrum to complex spectrum FF=(CC,NP,NC)
- v_lpccc2pf V_LPCCC2PF Convert complex cepstrum to power spectrum PF=(CC,NP,NC)

## SOURCE CODE

    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 Lesser General Public License as published by
    0013 %   the Free Software Foundation; either version 3 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 Lesser General Public License for more details.
    0020 %
    0021 %   You can obtain a copy of the GNU Lesser General Public License from
    0022 %   https://www.gnu.org/licenses/ .
    0023 %
    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