How to upsample an RF signal by a non-integer factor.

1 view (last 30 days)
Hello,
I want to upsample an RF signal by a factor of 2.5 (from 20 MHz to 50 MHz). But the MATLAB function "upsample" only works for integer factors. I know of the "resample" function, but it can only work on double precision vectors. But the problem is, my RF signal after getting read is a three-dimensional int16 data (1032x128x405 int16),
Any help or suggestion on this will be greatly appreciated.
  1 Comment
David K.
David K. on 16 Sep 2019
Instead of upsampling by 2.5 (5/2) you can actually upsample by 5 and then downsample by 2 in order to effectively upsample by 2.5.
This website appears to go over the theory well enough.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!