Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!t18g2000prt.googlegroups.com!not-for-mail
From: Dave <davebrackett@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: FFT of signal segments
Date: Mon, 20 Oct 2008 07:50:45 -0700 (PDT)
Organization: http://groups.google.com
Lines: 39
Message-ID: <20b3a063-80f4-4316-b98c-977e633dc7d3@t18g2000prt.googlegroups.com>
References: <gdi2ve$cud$1@fred.mathworks.com> <gdi58h$fth$1@fred.mathworks.com>
NNTP-Posting-Host: 131.231.138.20
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1224514246 31078 127.0.0.1 (20 Oct 2008 14:50:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 20 Oct 2008 14:50:46 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: t18g2000prt.googlegroups.com; posting-host=131.231.138.20; 
	posting-account=WpHOUwoAAAAl-MRn5yLQFoW-CLNjhSH5
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; 
	.NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; .NET CLR 
	3.0.04506.648; .NET CLR 3.5.21022),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:496272


On Oct 20, 3:40=A0pm, "Steve Amphlett" <Firstname.Lastn...@Where-I-
Work.com> wrote:
> "Dave Brackett" <davebrack...@hotmail.com> wrote in message <gdi2ve$cu...=
@fred.mathworks.com>...
> > Hi, I have written some code to do a FFT based on this example but with=
 a Hann window:
> >http://www.mathworks.com/support/tech-notes/1700/1702.html
>
> > I am basically doing a STFT (short time FT) and comparing frequencies a=
nd power over time. So I am splitting up a recorded signal into many segmen=
ts and computing a FFT on each.
>
> > The thing that I am finding curious though is that the more segments th=
at I split the signal into, the greater the power in the FFT for each segme=
nt. Should this be the case? I would have thought the opposite should be ob=
served because of the reduction in power that windowing causes.
>
> > Because I am using a Hann window, I have divided the FFT magnitude by 0=
.5 which is the coherent gain scaling factor.
> > I could post my code here but as it is based on the example at the abov=
e link it probably would only serve to confuse.
>
> > If someone could clarify what I should expect to see when splitting the=
 signal into several segments as compared to 1 segment, with regards to the=
 power, that would be useful. Thanks.
>
> Your 0.5 will correct the amplitude. =A0For energy correction, use sqrt(3=
/8). =A0Most people would express the correction the other way up:
>
> Multiply by 2 for amplitude, sqrt(8/3) for energy.


just to clarify, is the correction of energy the one to use when
plotting power?

also, I don't think the problem of the different FFT peak magnitudes
is to do with this correction factor as this just scales it by the
same amount.
cheers.