Thread Subject: Resampling IQ data in Matlab

Subject: Resampling IQ data in Matlab

From: Steve

Date: 19 Mar, 2008 18:51:12

Message: 1 of 2

Hello all,
I have a set of IQ data sampled at around 4.65Mhz and I want to
resample this data to 19.66MHz.

I tried the Matlab's resample function.

Resampled_x = resample(x,4654556,19660800,0);

I get the following error:


??? Error using ==> upfirdn at 82
The product of the downsample factor Q and the upsample factor P must
be less than 2^31.

Any help is really appreciated.

Thanks,
Steve.




Subject: Resampling IQ data in Matlab

From: Dan Haeg

Date: 19 Mar, 2008 22:08:02

Message: 2 of 2

Steve <sjthomas2@gmail.com> wrote in message
<141afa44-e176-4d4e-be80-eab2c4622cd4@a70g2000hsh.googlegroups.com>...
> Hello all,
> I have a set of IQ data sampled at around 4.65Mhz and I
want to
> resample this data to 19.66MHz.
>
> I tried the Matlab's resample function.
>
> Resampled_x = resample(x,4654556,19660800,0);
>
> I get the following error:
>
>
> ??? Error using ==> upfirdn at 82
> The product of the downsample factor Q and the upsample
factor P must
> be less than 2^31.
>
> Any help is really appreciated.
>
> Thanks,
> Steve.


According to the help I think you should do this:

Resampled_x = resample(x,3451,817,0);

Dan

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com