Sign in

username or email:

password:



Not a member?
Forgot your password?

Search compdsp



Search tips


Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGA

Discussion Groups | Comp.DSP | resampling

There are 2 messages in this thread.

You are currently looking at messages 1 to .


Is this discussion worth a thumbs up?

0

resampling - mikejones - 2006-10-24 09:05:00

I need advice on resampling. I sampled a signal at 512*50Hz. Then by using
numerical differntion with lagrange interpolation, i found the frequency
of the fundamental. I need to resample the siganl at a frequency of 512*fs
Hz where fs is the off nominal frequency of the fundamental (usually
slightly greater than 50Hz). how do I go about implementing it in code?


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: resampling - Marc Brooker - 2006-10-25 02:36:00



mikejones wrote:
> I need advice on resampling. I sampled a signal at 512*50Hz. Then by using
> numerical differntion with lagrange interpolation, i found the frequency
> of the fundamental. I need to resample the siganl at a frequency of 512*fs
> Hz where fs is the off nominal frequency of the fundamental (usually
> slightly greater than 50Hz). how do I go about implementing it in code?
> 
> 

I would take a look at the algorithm described here, for a start:

www.stanford.edu/~jos/resample/" target=_blank rel="nofollow">http://ccrma-www.stanford.edu/~jos/resample/

If your resampling factor is a simple rational number then you can use a
much simpler algorithm. If you have a library nearby, pick up "Multirate
Signal Processing" by Crochiere and Rabiner.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.