Table Of Contents

resample

Version:
    Last Modified: March 15, 2017

    Resamples an input signal.

    Syntax

    y = resample(x, p, q)
    y = resample(x, p, q, n)
    y = resample(x, p, q, n, beta)
    y = resample(x, p, q, b)
    [y, b] = resample(x, p, q)
    [y, b] = resample(x, p, q, n)
    [y, b] = resample(x, p, q, n, beta)

    Inputs

    x

    Input signal. If x is a matrix, resample resamples x along each column.

    p

    Upsampling factor. p is a positive integer.

    q

    Downsampling factor. q is a positive integer.

    n

    Length of the FIR filter applied to the upsampled signal. The default is 10.

    beta

    Kaiser window.

    b

    FIR filter. b is a vector.

    Outputs

    y

    Resampled signal.

    b

    FIR filter applied to the upsampled signal.

    y = resample(1:10, 2, 3)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics