@iddata/resample
Function File: dat = resample (dat, p, q)
Function File: dat = resample (dat, p, q, n)
Function File: dat = resample (dat, p, q, h)
Change the sample rate of the output and input signals in dataset dat
by a factor of p/q. This is performed using a polyphase algorithm.
The anti-aliasing FIR filter can be specified as follows:
Either by order n (scalar) with default value 0. The band edges
are then chosen automatically. Or by impulse response h (vector).
Requires the signal package to be installed.
Algorithm
Uses functions fir1 and resample
from the signal package.
References
Source Code: @iddata/resample