Table Of Contents

interpolate

Version:
    Last Modified: March 15, 2017

    Uses a lowpass interpolation filter to resample an input signal at a high rate.

    Syntax

    y = interpolate(x, rate)
    y = interpolate(x, rate, len)
    y = interpolate(x, rate, len, alpha)
    [y, f] = interpolate(x, rate)
    [y, f] = interpolate(x, rate, len)
    [y, f] = interpolate(x, rate, len, alpha)
    Legacy name: interp

    Inputs

    x

    Input signal to resample. The length of x must be greater than 2* len. x is an array of real double-precision, floating-point numbers.

    rate

    Resampling rate. rate is a 32-bit signed integer.

    len

    Size of the interpolation filter. len is a 32-bit signed integer.

    alpha

    Cutoff frequency. alpha is a double-precision, floating-point number.

    Outputs

    y

    Resampled signal. The length of y is 2* rate. y is an array of double-precision, floating-point numbers.

    f

    Coefficients of the lowpass interpolation filter. The length of the lowpass interpolation filter is 2* rate * len +1. f is an array of double-precision, floating-point numbers.

    X = 1:9;
    [Y, F] = interpolate(X, 2, 4, 0.5)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics