upfirdnΒΆ
upfirdn is a polyphase FIR resampling function.

y = upfirdn(x, h, p, q);
Return Value
y is erf(x).
Parameters

x
x is the input signal.

h
h is a FIR impulse response sequence vector.

p
p upsampling factor.

q
q downsampling factor.
Comment
The length of the output, y, is ceil(((len(x)1)*p+len(h))/q);
 upsampling (that is, zeroinsertion) of the input signal by an integer factor (call it P).
 applying an FIR (finiteimpulse response filter) to the result of 1.
 downsampling (that is, decimation) of the result of 2. by an integer factor (call it Q).
License: upfirdn (Polyphase FIR Resampling).
Example
y = upfirdn([0:9], [0.5,1,0.5], 2, 3) // linear interpolation, rate 2/3
y > [0.0 , 1.0 , 2.5, 4.0 , 5.5, 7.0 , 8.5]
History
Version  Description 

R2013.3  New. 
See also
_{id1317927}