matlab - Resample factors are too large -
i have big vector of recorded info need resample. problem encounter when using resample
, next error:
??? error using ==> upfirdn @ 82 product of downsample factor q , upsample factor p must less 2^31.
now, understand why happening - 2 sampling rates close together, integer factors need quite big (something 73999/74000). unfortunately means appropriate filter can't created matlab. tried resampling up, intention of resampling down, there not plenty memory 1 1000000 samples of info (mine 93m).
what other methods utilize resample data?
an interpolated polyphase fir filter can used interpolate new set of sample points without using upsampling+downsampling process.
but if performance unimportant, here's quick , dirty windowed-sinc interpolator in basic.
matlab signal-processing resampling
No comments:
Post a Comment