<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817</link>
    <title>MATLAB Central Newsreader - fft amplitude relationship</title>
    <description>Feed for thread: fft amplitude relationship</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 23 May 2008 16:53:02 -0400</pubDate>
      <title>fft amplitude relationship</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817#433725</link>
      <author>Bruce </author>
      <description>Does anyone know how the amplitude of a specific component&lt;br&gt;
(or frequency) in the fourier domain is related to the&lt;br&gt;
amplitude of that component in the time domain, and also the&lt;br&gt;
number of points in the FFT?&lt;br&gt;
&lt;br&gt;
It seems that the greater the NFFT, the smaller the&lt;br&gt;
amplitude, but does anyone know the exact relationship?</description>
    </item>
    <item>
      <pubDate>Fri, 23 May 2008 18:00:50 -0400</pubDate>
      <title>Re: fft amplitude relationship</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817#433739</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;g16spe$o9t$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Bruce  &amp;lt;italianasa84@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;Does anyone know how the amplitude of a specific component&lt;br&gt;
&amp;gt;(or frequency) in the fourier domain is related to the&lt;br&gt;
&amp;gt;amplitude of that component in the time domain, and also the&lt;br&gt;
&amp;gt;number of points in the FFT?&lt;br&gt;
&lt;br&gt;
&amp;gt;It seems that the greater the NFFT, the smaller the&lt;br&gt;
&amp;gt;amplitude, but does anyone know the exact relationship?&lt;br&gt;
&lt;br&gt;
If you aren't trying to ifft() specifying a different number&lt;br&gt;
of points than are in the fourier domain, then:&lt;br&gt;
&lt;br&gt;
time domain amplitude = frequency domain coefficient * 2 / number of points.&lt;br&gt;
&lt;br&gt;
Another way of phrasing this is that if you have an impulse&lt;br&gt;
vector in the fourier domain,&lt;br&gt;
&lt;br&gt;
N = 123; p = 17;  %arbitrary number of points and impulse position.&lt;br&gt;
b = zeros(1,N); b([p,end-p+2]) = N/2;   %construct impulse vector&lt;br&gt;
bi = ifft(b);     %do the ifft&lt;br&gt;
&lt;br&gt;
then the amplitude in the time domain contributed by that&lt;br&gt;
impulse, would be 1.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
If, though, you are doing an ifft specifying a different number of points&lt;br&gt;
than are present in the vector, then I have not yet worked out a mental&lt;br&gt;
model of what the results are.&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&quot;The art of storytelling is reaching its end because the epic&lt;br&gt;
&amp;nbsp;&amp;nbsp;side of truth, wisdom, is dying out.&quot;       -- Walter Benjamin</description>
    </item>
    <item>
      <pubDate>Wed, 28 May 2008 15:48:02 -0400</pubDate>
      <title>Re: fft amplitude relationship</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817#434553</link>
      <author>Bruce </author>
      <description>Thanks, what you mentioned was what I was looking for.&lt;br&gt;
- Bruce</description>
    </item>
    <item>
      <pubDate>Wed, 28 May 2008 16:07:01 -0400</pubDate>
      <title>Re: fft amplitude relationship</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817#434561</link>
      <author>Ken Garrard</author>
      <description>&quot;Bruce &quot; &amp;lt;italianasa84@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g1juri$c4v$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Thanks, what you mentioned was what I was looking for.&lt;br&gt;
&amp;gt; - Bruce&lt;br&gt;
&lt;br&gt;
Bruce,&lt;br&gt;
&lt;br&gt;
Walter's answer is incomplete.  The DC and Nyquist values &lt;br&gt;
are unique and therefore do not have a 2 in the scale &lt;br&gt;
factor.&lt;br&gt;
&lt;br&gt;
time(DC)      = frequency(DC) / N&lt;br&gt;
time(Nyquist) = frequency(Nyquist) / N&lt;br&gt;
time(all other points) = frequency(all other points) * 2 / N&lt;br&gt;
&lt;br&gt;
Note that there is no Nyquist value for odd N.&lt;br&gt;
&lt;br&gt;
Ken</description>
    </item>
    <item>
      <pubDate>Mon, 05 Jan 2009 23:48:01 -0500</pubDate>
      <title>Re: fft amplitude relationship</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817#619987</link>
      <author>Darren </author>
      <description>Can someone point me to a technical reference/document that explains or discusses this fft (time/freq) amplitude scaling concept. Thanks,&lt;br&gt;
&lt;br&gt;
Darren&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Ken Garrard&quot; &amp;lt;ken_garrardAT@ncsuDOT.edu&amp;gt; wrote in message &amp;lt;g1jvv5$pq4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Bruce &quot; &amp;lt;italianasa84@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;g1juri$c4v$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Thanks, what you mentioned was what I was looking for.&lt;br&gt;
&amp;gt; &amp;gt; - Bruce&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Bruce,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Walter's answer is incomplete.  The DC and Nyquist values &lt;br&gt;
&amp;gt; are unique and therefore do not have a 2 in the scale &lt;br&gt;
&amp;gt; factor.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; time(DC)      = frequency(DC) / N&lt;br&gt;
&amp;gt; time(Nyquist) = frequency(Nyquist) / N&lt;br&gt;
&amp;gt; time(all other points) = frequency(all other points) * 2 / N&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Note that there is no Nyquist value for odd N.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Ken&lt;br&gt;
&amp;gt; </description>
    </item>
    <item>
      <pubDate>Tue, 06 Jan 2009 00:07:01 -0500</pubDate>
      <title>Re: fft amplitude relationship</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817#619991</link>
      <author>Paul </author>
      <description>&quot;Darren &quot; &amp;lt;dgoshi@ucla.edu&amp;gt; wrote in message &amp;lt;gju67h$avn$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Can someone point me to a technical reference/document that explains or discusses this fft (time/freq) amplitude scaling concept. Thanks,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Darren&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Ken Garrard&quot; &amp;lt;ken_garrardAT@ncsuDOT.edu&amp;gt; wrote in message &amp;lt;g1jvv5$pq4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;Bruce &quot; &amp;lt;italianasa84@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;gt; &amp;lt;g1juri$c4v$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Thanks, what you mentioned was what I was looking for.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; - Bruce&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Bruce,&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Walter's answer is incomplete.  The DC and Nyquist values &lt;br&gt;
&amp;gt; &amp;gt; are unique and therefore do not have a 2 in the scale &lt;br&gt;
&amp;gt; &amp;gt; factor.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; time(DC)      = frequency(DC) / N&lt;br&gt;
&amp;gt; &amp;gt; time(Nyquist) = frequency(Nyquist) / N&lt;br&gt;
&amp;gt; &amp;gt; time(all other points) = frequency(all other points) * 2 / N&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Note that there is no Nyquist value for odd N.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Ken&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&lt;br&gt;
The FFT is essentially an integral operator over a function (usually f(t) but not always).  In the real discrete computer world, integrals are represented by summations.  If you work this through from the basics, then it will become more clear what the scaling relations are.</description>
    </item>
    <item>
      <pubDate>Tue, 06 Jan 2009 14:54:02 -0500</pubDate>
      <title>Re: fft amplitude relationship</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817#620086</link>
      <author>Dave Robinson</author>
      <description>&quot;Darren &quot; &amp;lt;dgoshi@ucla.edu&amp;gt; wrote in message &amp;lt;gju67h$avn$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Can someone point me to a technical reference/document that explains or discusses this fft (time/freq) amplitude scaling concept. Thanks,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Darren&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Ken Garrard&quot; &amp;lt;ken_garrardAT@ncsuDOT.edu&amp;gt; wrote in message &amp;lt;g1jvv5$pq4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;Bruce &quot; &amp;lt;italianasa84@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;gt; &amp;lt;g1juri$c4v$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Thanks, what you mentioned was what I was looking for.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; - Bruce&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Bruce,&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Walter's answer is incomplete.  The DC and Nyquist values &lt;br&gt;
&amp;gt; &amp;gt; are unique and therefore do not have a 2 in the scale &lt;br&gt;
&amp;gt; &amp;gt; factor.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; time(DC)      = frequency(DC) / N&lt;br&gt;
&amp;gt; &amp;gt; time(Nyquist) = frequency(Nyquist) / N&lt;br&gt;
&amp;gt; &amp;gt; time(all other points) = frequency(all other points) * 2 / N&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Note that there is no Nyquist value for odd N.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Ken&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&lt;br&gt;
If you can get hold of it, the book&lt;br&gt;
&lt;br&gt;
Title The Fast Fourier Transform and its applications&lt;br&gt;
Author E.O. Brigham&lt;br&gt;
&lt;br&gt;
It will tell you all you ever want to know about FFT, written in an almost casual style. In my opinion - for what it is worth, this is the best document explaining FFT that I have come across in all of my long career in DSP.&lt;br&gt;
&lt;br&gt;
I checked with Amazon, and it still appears to be available via some of the specialist book suppliers - but is expensive, so search your local library before purchasing it.&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
&lt;br&gt;
Dave Robinson </description>
    </item>
    <item>
      <pubDate>Tue, 06 Jan 2009 16:58:02 -0500</pubDate>
      <title>Re: fft amplitude relationship</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169817#620102</link>
      <author>Paul Mennen</author>
      <description>&quot;Darren &quot; wrote:&lt;br&gt;
&amp;gt; Can someone point me to a technical reference/document that explains&lt;br&gt;
&amp;gt; or discusses this fft (time/freq) amplitude scaling concept.&lt;br&gt;
&lt;br&gt;
Chapter 8 of Cleve Moler's well written book &quot;Numerical Computing with Matlab&quot;&lt;br&gt;
contains a nice tutorial aimed at teaching the basics of Fourier Analysis. This book&lt;br&gt;
is available free at: &lt;a href=&quot;http://www.mathworks.com/moler/&quot;&gt;http://www.mathworks.com/moler/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
If your math skills are weak and you want a book that starts with the simplest&lt;br&gt;
math concepts and works its way up, check out &quot;Mathematics of the Discrete&lt;br&gt;
Fourier Transform&quot;, also available for free at:&lt;br&gt;
&amp;nbsp;&lt;a href=&quot;http://ccrma.stanford.edu/~jos/mdft/&quot;&gt;http://ccrma.stanford.edu/~jos/mdft/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
If you get very far with fft analysis you will soon run across the idea of fft&lt;br&gt;
windows. Many find the treatment of this topic in books esoteric and hard&lt;br&gt;
to understand, so I wrote a short explanation of fft windows that doesn't&lt;br&gt;
require a PhD in math to understand. This document is available on the&lt;br&gt;
file exchange. (Just search for &quot;winplt&quot;).&lt;br&gt;
&lt;br&gt;
There are many other on-line sources of information about DSP topics that&lt;br&gt;
you can find with simple google searches.&lt;br&gt;
&lt;br&gt;
~Paul</description>
    </item>
  </channel>
</rss>

