FUNCTION REFERENCE

upfirdn

Upsample, filter, then downsample.

Upsample, filter, then downsample.

Syntax

upfirdn(x, h)

Syntax

upfirdn(x, h, p, q)

h is the FIR filter. p is the upsampling factor and q the downsampling factor (default 1).

Example

upfirdn([1 2 3], [1 1])   % [1 3 5 3]

Differences from MATLAB: Real numeric 2-D arrays; filter values must be finite.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.