What does resample do in Matlab?
The resample function performs rate conversion from one sample rate to another. resample allows you to upsample by an integral factor, p , and subsequently decimate by another integral factor, q . In this way you can resample to a rational multiple ( p / q ) of the original sample rate.
How do you resample an array in Matlab?
y = resample( x , p , q ) resamples the input sequence, x , at p / q times the original sample rate. resample applies an FIR Antialiasing Lowpass Filter to x and compensates for the delay introduced by the filter. The function operates along the first array dimension with size greater than 1.