Table Of Contents

stepzd

Version:
    Last Modified: March 15, 2017

    Computes the step response of a filter. If you do not request an output, this function plots the step response in the current plot window.

    Syntax

    stepzd(b)
    stepzd(b, a)
    stepzd(b, a, n)
    stepzd(b, a, n, f)
    [r, t] = stepzd(b)
    [r, t] = stepzd(b, a)
    [r, t] = stepzd(b, a, n)
    [r, t] = stepzd(b, a, n, f)
    Legacy name: stepz

    Inputs

    b

    Forward filter coefficients. b is a vector.

    a

    Backward filter coefficients. a is a vector.

    Default: [1]

    n

    Number of equidistant points for which to compute a step response. If you specify [] for n, MathScript automatically determines the number of points. If you do not specify n, MathScript determines the number of points according to a. n is a positive integer or a vector of such numbers.

    f

    Distance d between equidistant points, where d = 1/f. f is a positive real number.

    Outputs

    r

    Step response of the filter defined by a and b. r is a real vector.

    t

    Time values of the step response. t is a real vector.

    B = [1];
    A = [1, 0.2, -0.02, 1];
    [R, T] = stepzd(B, A, 10)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics