This function resamples in the input sequence x supplied by a factor of p/q.
y = resample(x, p, q) y = resample(x, p, q, h) [y, h] = resample(...)
scalar, vector or matrix of real or complex numbers
positive integer value
positive integer value
scalar, vector or matrix of real or complex numbers
This is an Octave function. This function resamples in the input sequence x supplied by a factor of p/q. If x is a matrix, then every column is resampled.hange the sample rate of x by a factor of p/q. This is performed using a polyphase algorithm. The impulse response h, given as parameter 4, of the antialiasing filter is either specified or designed with a Kaiser-windowed sinecard.