RESAMPLE Resample uniform or nonuniform data (MATLAB R2026a Signal syntax).
Also accepts legacy timeseries RESAMPLE(TS, NEWTIME, METHOD).
Rational rate change:
Y = RESAMPLE(X,P,Q)
Y = RESAMPLE(X,P,Q,N)
Y = RESAMPLE(X,P,Q,N,BETA)
Y = RESAMPLE(X,P,Q,B)
[Y,B] = RESAMPLE(X,P,Q,___)
Nonuniform / timed:
Y = RESAMPLE(X,TX)
Y = RESAMPLE(X,TX,FS)
Y = RESAMPLE(X,TX,FS,P,Q)
Y = RESAMPLE(X,TX,___,METHOD)
[Y,TY] = RESAMPLE(X,TX,___)
[Y,TY,B] = RESAMPLE(X,TX,___)
Timetable:
YTT = RESAMPLE(XTT,P,Q,___)
YTT = RESAMPLE(XTT,___)
[YTT,B] = RESAMPLE(XTT,___)
Name-value:
[___] = RESAMPLE(___,'Dimension',DIM)
Decisions (nexus#1607; host has no MathWorks SPT licence):
* Antialiasing FIR matches the published Kaiser/fir1 recipe:
order = 2*n*max(p,q), fc = 1/max(p,q), beta default 5, n default 10,
b = p * fir1(order,fc,kaiser(order+1,beta)) / sum(...).
* Rate change via upsample ? filter ? downsample with delay compensation.
* Nonuniform TX path uses interp1; method in {linear,pchip,spline}.
* Error ids use signal:resample:* style.