resample [signal]
— Function File: [y h]= resample(x,p,q)
— Function File: y = resample(x,p,q,h)

Change the sample rate of x by a factor of p/q. This is performed using a polyphase algorithm. The impulse response h of the antialiasing filter is either specified or either designed with a Kaiser-windowed sinecard.