Resample function in MATLAB with resampling factors p, q
이전 댓글 표시
Dear all,
in order to evualuate measurement data, I would like to upsample them from 55Hz to 1210Hz with the resample function of MATLAB.
I think, that I got good results using y= resample(x,tx,fs), where
x =measurment data (input signal, [3781x1 double])
tx=Actual time steps [3781x1 double]
fs =1210Hz.
y = upsampled measurment data, [83161x1 double]
But there is also the possiblity in MATLAB to use y= resample(x,tx,fs,p,q) using p,q as the resampling factors. I don't understand what the function exactly does then. Additionally, one could add the interpolation function aswell. Is it correct, that for y= resample(x,tx,fs,p,q) the interpolation is linear?
Is there someone who could explain this function to me? I'd really appreciate. =)
Best regards
Stefan
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!