Table Of Contents

lp_to_bs

Version:
    Last Modified: March 15, 2017

    Transforms an analog lowpass filter to a bandstop filter.

    Syntax

    [num2, den2] = lp_to_bs(num1, den1, w, bw)
    [a1, b2, c2, d2] = lp_to_bs(a1, b1, c1, d1, w, bw)
    Legacy name: lp2bs

    Inputs

    num1

    Transfer function of the filter.

    den1

    Transfer function of the filter.

    w

    Center frequency.

    bw

    Bandwidth.

    a1

    State-space representation of the filter.

    b1

    State-space representation of the filter.

    c1

    State-space representation of the filter.

    d1

    State-space representation of the filter.

    Outputs

    num2, den2

    Transfer function of the filter.

    a2, b2, c2, d2

    State-space representation of the filter.

    num1 = [0.022, 0.109, 0.219, 0.219, 0.109, 0.022];
    den1 = [1, -0.985, 0.974, -0.386, 0.111, -0.011];
    w = 50E3;
    bw = 0.6;
    [num2, den2] = lp_to_bs(num1, den1, w, bw)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics