Re: Huge resampling factors



Don't get totally locked into the thought that you must resample in
integer ratios, despite all the DSP books showing that approach.
Resampling is interpolation, and nothing says that you have to only
calculate, via interpolation, at periods of 1/n.

So why do we (well, the books, etc.) choose integer ratios? Well, if you
pick an *arbitrary* ratio, it makes a fixed windowed-sinc (or whatever)
table impractical. It also makes it difficult to suggest that the user
do things insert a fractional number of zeros before filtering. For the
latter, we never really insert the zero anyway (we use polyphase
techniques, etc.). For the former, you can either caluate the factors as
needed (usually a bad idea, speed-wise), or just make a reasonably-sized
table and interpolate between the points to get any ratio you want.
Linear interpolation works fine because a well-oversampled windowed-sinc
function is pretty smooth from point to point.

Google for Julius Smith's bandlimited interpolation webpage.


In <Qq6dnbznoLs3RcHeRVn-2w@xxxxxxxxxxxx> stilghar wrote:
> Hi,
>
> I've to resample a signal from 16.3676 MHz to 4.096 MHz. If I'm not
> wrong I should interpolate by 10240 and then decimate by 40919. But,
> these are huge numbers! Is there any other way of doing it?
>
> By the way, due to performance requirements I couldn't acces the whole
> signal at a time, so I have to do the resampling process by blocks.
>
> Thank you.
.



Relevant Pages

  • Re: Back to basics: Interpolation teaser
    ... on the resample circle image, the circle profile displays some 'saw ... Is that an artifact/limitation of interpolation ...
    (sci.image.processing)
  • Back to basics: Interpolation teaser
    ... Here is a question on interpolation and resampling. ... units centered on a dark background image, dimensions 128x128 pixels). ... Now I resample them to double the image size along each dimension ...
    (sci.image.processing)
  • Re: Back to basics: Interpolation teaser
    ... Here is a question on interpolation and resampling. ... on the resample circle image, the circle profile displays some 'saw ... Is that an artifact/limitation of interpolation ... if you think there are artifacts in the resampled images, ...
    (sci.image.processing)
  • Re: Scale a vector
    ... and what you're wanting to do is ... resample that function at a different frequency (e.g. 72 ... Doing linear interpolation between adjacent points ... parabolic or cubic curve segments). ...
    (microsoft.public.dotnet.languages.csharp)

Loading