This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

getPolynomialCoefficients

Get polynomial coefficients of farrow rate conversion filter

Syntax

[C] = getPolynomialCoefficients(frc)

Description

example

[C] = getPolynomialCoefficients(frc) returns the polynomial coefficients that the dsp.FarrowRateConverter System object™, frc, uses to implement the specified sample rate conversion.

Examples

collapse all

Create a default dsp.FarrowRateConverter System object™ that converts a signal from 44.1 kHz to 48 kHz.

frc = dsp.FarrowRateConverter()
frc = 
  dsp.FarrowRateConverter with properties:

   Main
        InputSampleRate: 44100
       OutputSampleRate: 48000
    OutputRateTolerance: 0
          Specification: 'Polynomial order'
        PolynomialOrder: 3

  Show all properties

Return the self-designed polynomial coefficients that the object uses to implement the specified rate conversion.

c = getPolynomialCoefficients(frc)
c = 4×4

   -0.1667    0.5000   -0.3333         0
    0.5000   -1.0000   -0.5000    1.0000
   -0.5000    0.5000    1.0000         0
    0.1667         0   -0.1667         0

Input Arguments

collapse all

Polynomial sample rate conversion filter, specified as a dsp.FarrowRateConverter System object.

Output Arguments

collapse all

Polynomial coefficients of Farrow rate conversion filter, returned as a M-by-M matrix, where M is the polynomial order.

Data Types: double

Introduced in R2014b