Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Moving Average - ashd...@rpi.edu - Oct 16 13:02:06 2007



Hi,

I am using the ADSP 21262 and want to apply a moving average to smooth
the readings I am aqcuiring from several sensors. Does anyone have any
source code examples of this?  Any help would be greatly appreciated.

Thanks!
==============Original message text===============
On Tue, 16 Oct 2007 0:13:21 EDT "miracle_sksim" wrote:

Hi,

I have search thru the net and went to some of the DSP forums. But 
could not find any examples on digital filtering.

Is there anyone apply digital filtering effect on videos in blackfin 
561 board ? 

Well i need an example to start with. thanks.
===========End of original message text===========



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Moving Average - Mike Rosing - Oct 18 1:26:06 2007

On Tue, 16 Oct 2007 a...@rpi.edu wrote:

> Hi,
>
> I am using the ADSP 21262 and want to apply a moving average to smooth
> the readings I am aqcuiring from several sensors. Does anyone have any
> source code examples of this?  Any help would be greatly appreciated.

The easiest way to do that is to use a circular buffer.  Use one index
to keep track of where you are dumping new data and a different index in
the same dag to compute the average of all the data in the buffer.
Compute a new average every time you get new data, or as needed.

Patience, persistence, truth,
Dr. mike



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )