resample

Resample the data to the new sampling rate.The new sampe rate will be p/q times the original sample rate.

Arguments

  1. Vector or matrix
  2. Positive integer p ,resampling factor
  3. Positive integer q, resampling factor

Output

Resampled vector or matrix

Examples

resample