Table Of Contents

filter_lattice

Version:
    Last Modified: March 15, 2017

    Uses a lattice filter to filter a signal. filter_lattice works column-wise for matrices.

    Syntax

    [f, g] = filter_lattice(k, x)
    [f, g] = filter_lattice(k, v, x)
    [f, g, final] = filter_lattice(k, x, 'ic', initial)
    [f, g, final] = filter_lattice(k, v, x, 'ic', initial)
    Legacy name: latcfilt

    Inputs

    k

    Lattice reflection coefficients. k is a real vector or array of any dimension.

    v

    Lattice ladder coefficients. v is a real vector or the integer 1.

    x

    Signal to filter. x is a real or complex vector or array of any dimension.

    'ic'

    Tells MathScript that the next listed input is initial.

    initial

    Initial states. initial is a real or complex vector or matrix.

    Outputs

    f

    Minimum-phase filtered signal. If v is 1, f returns the all-pole filtered signal. f is a real or complex vector or matrix.

    g

    Maximum-phase filtered signal. If v is 1, g returns the all-pass filtered signal. g is a real or complex vector or matrix.

    final

    Final states. final is a real or complex vector or matrix.

    K = [0.1, 0.2, 0.8];
    X = 0:0.01:1;
    [F, G] = filter_lattice(K, X)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics