void CplxCepstrumInv(TVec Src, TVec Dst, Double PhaseLag, Int32 TargetLength)
Compute the inverse complex cepstrum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | source TVec |
| 2 | Dst | TVec | source TVec |
| 3 | PhaseLag | Double | scalar |
| 4 | TargetLength | Int32 |
Result: stored in self (calling object)
Remarks:
Compute inverse complex cepstrum of Src and place the result in Dst. Phase lag is the value returned by CplxCepstrum. TargetLength is the length of the original (not zero padded) signal passed to the CplxCepstrum routine.
Examples
using Dew.Math;
using Dew.Math.Editors;
using Dew.Math.Units;
using Dew.Signal;
using Dew.Signal.Units;
using Dew.Math.Tee;
using Dew.Signal.Tee;
private void button1_Click(object sender, EventArgs e)
{
Vector a = new Vector(0);
Vector b = new Vector(0);
double k;
a.SetIt(false,new double[8] {1,2,3,4,3,2,-1,1});
k = SignalUtils.CplxCepstrum(a,b,64);
SignalUtils.CplxCepstrumInv(b,a,k,a.Length);
// "a" again becomes the same as on the input a = [1,2,3,4,3,2,-1,1]
MtxVecTee.DrawIt(a,"Original time signal",false);
}