discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Decimation Rate with a fraction part


From: Nick Othieno
Subject: Re: [Discuss-gnuradio] Decimation Rate with a fraction part
Date: Fri, 4 Mar 2011 08:51:28 -0500

Thanks guys. The ideas looks theoretically sound, but for some reason the grc setup I have created does not seem to like the idea of very large interpolation and decimation values. It does not print out any errors, it just hangs.

I have attached a copy of my grc setup.

On Thu, Mar 3, 2011 at 3:39 PM, Ed Criscuolo <address@hidden> wrote:
On 3/3/11 3:04 PM, Nick Othieno wrote:
Hi all,

I would like to get an output of 16.3676 Ms/s. Is it then possible to
set a decimation values of 6.109631223? I am wondering whether
decimation values have to be whole numbers, or whether decimation values
with fraction parts are allowed.

Decimation numbers must be integers.

What you need to do is set the USRP to acquire at some value close to
what you need, say 16 Ms/s.

Then use a rational resampler with the proper numbers for interpolation
and decimation to get the desired rate.  For instance, at 16 Ms/sec,
set interpolation to 163676 and decimation to 160000.  In this case, both are exactly divisible by 4, so it could even be 40919 & 40000.

@(^.^)@  Ed

Attachment: gps_sampler.grc
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]