diff options
Diffstat (limited to 'macros/resample.sci')
-rw-r--r-- | macros/resample.sci | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/macros/resample.sci b/macros/resample.sci index e2d9f79..8c0d2d0 100644 --- a/macros/resample.sci +++ b/macros/resample.sci @@ -1,22 +1,18 @@ function [y, h] = resample( x, p, q, h ) //This function resamples in the input sequence x supplied by a factor of p/q. - //Calling Sequence //y = resample(x, p, q) //y = resample(x, p, q, h) //[y, h] = resample(...) - //Parameters //x: scalar, vector or matrix of real or complex numbers //p: positive integer value //q: positive integer value //h: scalar, vector or matrix of real or complex numbers - //Description //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. - //Examples //resample(1,2,3) //ans = 0.66667 |