How does resampling work?

조회 수: 3 (최근 30일)
Harry
Harry 2014년 11월 1일
I want to understand resampling better, so I am trying to replicate the functionality of Matlab's resample() function. I get stuck with the upfirdn() function, which is built in (and therefore an invisible "black box"). To clarify, I'm not looking for a fast implementation, I just want to see how to get the exact same result.
The part that is bugging me is that (as stated by Matlab help) the final output size is:
Ly = ceil( ((Lx-1)*P + Lh)/Q ) where Lx = length(X) and Lh = length(H)
and I don't understand why. How can I figure out exactly what upfirdn() is doing? Can anyone help?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by