Path: news.mathworks.com!not-for-mail
From: "Dan Haeg" <haegd@msoe.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Resampling IQ data in Matlab
Date: Wed, 19 Mar 2008 22:08:02 +0000 (UTC)
Organization: Milwaukee School of Engineering
Lines: 30
Message-ID: <frs2s2$bgh$1@fred.mathworks.com>
References: <141afa44-e176-4d4e-be80-eab2c4622cd4@a70g2000hsh.googlegroups.com>
Reply-To: "Dan Haeg" <haegd@msoe.edu>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1205964482 11793 172.30.248.37 (19 Mar 2008 22:08:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 19 Mar 2008 22:08:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 475291
Xref: news.mathworks.com comp.soft-sys.matlab:458163



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