Path: news.mathworks.com!not-for-mail
From: "Erik Carlsten" <ecarlste@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Moving averages over a vector in MatLAB?
Date: Thu, 1 Nov 2007 18:29:21 +0000 (UTC)
Organization: Montana State University
Lines: 17
Message-ID: <fgd5u1$5eg$1@fred.mathworks.com>
References: <fgcuei$32r$1@fred.mathworks.com> <1193935442.969959.94480@50g2000hsm.googlegroups.com> <fgd1jg$lv3$1@fred.mathworks.com> <fgd391$kds$1@fred.mathworks.com>
Reply-To: "Erik Carlsten" <ecarlste@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1193941761 5584 172.30.248.38 (1 Nov 2007 18:29:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 1 Nov 2007 18:29:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1169484
Xref: news.mathworks.com comp.soft-sys.matlab:435690



"Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam> wrote in 
message <fgd391$kds$1@fred.mathworks.com>...
> Why not just shorten the length of the fft so the 
resulting 
> bins are wider? You would then also have more sections 
to 
> average if you are forming a periodogram.

When I am taking the average of my FFT, I am not actually 
taking an average of the entire FFT. The entire FFT shows 
a frequency domain of 0-3600Hz and I am only interested in 
the shape of the FFT for frequencies between 100-400Hz. I 
will of course only take a moving average of the 100-400Hz 
range for speed considerations but I was just throwing 
this general question out there to see if anyone had any 
ideas on how to go about taking the moving average of a 
vector.