upfirdn
This function upsamples the input data, applies the FIR filter and then downsamples it.
Calling Sequence
y = upfirdn (x, h, p, q)
Parameters
x:
The input signal.
h:
The impulse response of the FIR filter.
p:
The upsampling factor(default=1)
q:
The downsampling factor(default=1)
Description
This function upsamples the input data in the matrix by a factor of n. Then the upsampled data is FIR filtered. After this, the resultant is downsampled.
Examples