Reinstallation factors are too great

I have a large vector of recorded data that I need to repeat. The problem I am running into is that when using, resample

I get the following error:

??? Error when using ==> upfirdn at 82 The product of the down-fall factor Q and the up-fall factor P must be less than 2 ^ 31.

Now I understand why this is happening - my two sample rates are very close to each other, so the integer factors should be quite large (roughly 73999/74000). Unfortunately, this means that a matching filter cannot be generated by MATLAB. I also tried oversampling just for the purpose of downsampling, but there is not enough memory to do that even with 1 million data samples (I have 93M).

What other methods can I use to properly reconfigure this data?

+3


source to share


1 answer


An interpolated polyphase FIR filter can be used to interpolate only a new set of sample points without using the upsampling + downsampling process.



But if performance is completely unimportant, here's the Fast and Dirty Sinc windowing in the main .

0


source







All Articles