Table Of Contents

resample_fir

Version:
    Last Modified: March 15, 2017

    Resamples the input signal. resample_fir upsamples, applies a specified FIR filter, and downsamples a signal.

    Syntax

    y = resample_fir(x, h, p, q)
    y = resample_fir(x, h, p)
    y = resample_fir(x, h)
    Legacy name: upfirdn

    Inputs

    x

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

    h

    FIR filter. If h is a matrix, resample_fir applies each column of h to the input signal.

    p

    Upsampling factor. p is a positive integer.

    Default: 1

    q

    Downsampling factor. q is a positive integer.

    Default: 1

    Outputs

    y

    Resampled signal.

    y = resample_fir(1:10, [1 1], 2, 3)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics