<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037</link>
    <title>MATLAB Central Newsreader - How to zoom into a certain part of FFT?</title>
    <description>Feed for thread: How to zoom into a certain part of FFT?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The 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>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 04 May 2008 07:09:06 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#430135</link>
      <author>Andy Robb</author>
      <description>"Vista" &amp;lt;abc@gmai.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;f5sk5g$qmm$1@news.Stanford.EDU&amp;gt;...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&lt;br&gt;
It is a shame that you only have half the signal - missing&lt;br&gt;
-infinity &amp;lt;= t &amp;lt; 0. But seriously, you don't mention&lt;br&gt;
sampling. You have to be aware of the works in the '70s at&lt;br&gt;
Bell Labs of Nyquist and Shannon.&lt;br&gt;
&lt;a href="http://en.wikipedia.org/wiki/Nyquist-Shannon_sampling_theorem"&gt;http://en.wikipedia.org/wiki/Nyquist-Shannon_sampling_theorem&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And I have its spectrum F(w).&lt;br&gt;
&lt;br&gt;
Given that your time series is infinite, you spectrum will&lt;br&gt;
have infinite resolution.&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Let's say I found out that its main spectrum has 99.9% in&lt;br&gt;
[-B, B].&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
This is low-pass filtering.&lt;br&gt;
&lt;br&gt;
&amp;gt; So I truncate/extract out the portion of F(w), for w in&lt;br&gt;
[-B, B], and &lt;br&gt;
&amp;gt; discretized the interval into small grids with step size&lt;br&gt;
deltaB.&lt;br&gt;
&lt;br&gt;
Truncation of frequency spectra (or time series) is always a&lt;br&gt;
BAD idea. You need to shape them with a window that reduces&lt;br&gt;
the out of band components to zero but avoiding a steep&lt;br&gt;
cut-off. Common windows are Hanning, Hamming and I like&lt;br&gt;
Kaiser-Bessel.&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And I then do the inverse FFT on the above samples of&lt;br&gt;
F(w), let's call the &lt;br&gt;
&amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&lt;br&gt;
It represents all of f(t) - in your example (-B to B), just&lt;br&gt;
low-pass filtered and and at a lower sampling frequency.&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If I want to zoom into a certain part of f(t), how can I&lt;br&gt;
use inverse FFT to &lt;br&gt;
&amp;gt; do that?&lt;br&gt;
&lt;br&gt;
You don't.&lt;br&gt;
&lt;br&gt;
&amp;gt; Let's say I only need [a, b] where 0&amp;lt;a&amp;lt;b&amp;lt; infinity, in the&lt;br&gt;
time domain,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I only need to visualize the f(t), for t in [a, b],&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; how do I sample F(w) and do the inverse FFT?&lt;br&gt;
&lt;br&gt;
You don't.&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; -------------------------&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; More generally, I am actually thinking of desing a&lt;br&gt;
"spectrum analyzer" with &lt;br&gt;
&amp;gt; zoom-in feactures:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; as you can see, first do a coarse level inverse FFT to&lt;br&gt;
gain a big picture of &lt;br&gt;
&amp;gt; the f(t) curve, and then allow user to zoom into a&lt;br&gt;
particular part of the &lt;br&gt;
&amp;gt; f(t) curve and display it with higher resolution of IFFT.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How to do all of these?&lt;br&gt;
&lt;br&gt;
Be aware that a single spectral line maps to all of time&lt;br&gt;
(-infinity &amp;lt; t &amp;lt; infinity) and that a single point in time&lt;br&gt;
maps to all frequencies (-infinity &amp;lt; f &amp;lt; infinity).&lt;br&gt;
&lt;br&gt;
FFT analysis is based on a fixed number of regular time&lt;br&gt;
points mapping to the same number of frequencies. This only&lt;br&gt;
works when an event in time can be captured completely or&lt;br&gt;
repeats itself and you capture exactly one repeat.&lt;br&gt;
&lt;br&gt;
Outside of those conditions, windows (Hanning etc) are used&lt;br&gt;
to limit the time series and to get a useful approximation&lt;br&gt;
of the spectrum albeit with some 'smudging' and changes in&lt;br&gt;
amplitude and/or energy.&lt;br&gt;
&lt;br&gt;
In order to complete your FFT analyser, you should include a&lt;br&gt;
flat-top window to allow an accurate estimate of the height&lt;br&gt;
of a single frequency.&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks a lot! &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
I suspect this reply might be too late to help with your&lt;br&gt;
assignment, but I hope that it helps you understand why your&lt;br&gt;
grade was so bad.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 21 Nov 2007 19:55:24 -0500</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#402507</link>
      <author>Greg Heath</author>
      <description>Corrected for the heinous crime of Top-Posting.&lt;br&gt;
&lt;br&gt;
On Jun 27, 10:44 pm, "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; news:f5sk5g$qmm$1@news.Stanford.EDU...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&lt;br&gt;
f(t) is then categorized as "causal"&lt;br&gt;
&lt;br&gt;
&amp;gt; &amp;gt; And I have its spectrum F(w).&lt;br&gt;
&lt;br&gt;
For causal time functions, there can be no singularities of&lt;br&gt;
F(w = wr+j*wi) in the closed lower half complex plane wi &amp;lt;= 0.&lt;br&gt;
&lt;br&gt;
&amp;gt; &amp;gt; Let's say I found out that its main spectrum has 99.9% in [-B, B].&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; So I truncate/extract out the portion of F(w), for w in [-B, B], and&lt;br&gt;
&amp;gt; &amp;gt; discretized the interval into small grids with step size deltaB.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; And I then do the inverse FFT on the above samples of F(w), let's call the&lt;br&gt;
&amp;gt; &amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&lt;br&gt;
A low pass filtered part. When 0 &amp;lt;= t &amp;lt; inf, think of f_hat as a&lt;br&gt;
moving&lt;br&gt;
window average of f(t). However, it is more complicated than that&lt;br&gt;
because f_hat will be noncausal and nonzero in the negative time&lt;br&gt;
interval -inf &amp;lt; t &amp;lt; 0.&lt;br&gt;
&lt;br&gt;
&amp;gt; &amp;gt; If I want to zoom into a certain part of f(t), how can I use inverse FFT&lt;br&gt;
&amp;gt; &amp;gt; to do that?&lt;br&gt;
&amp;gt; &amp;gt; Let's say I only need [a, b] where 0&amp;lt;a&amp;lt;b&amp;lt; infinity, in the time domain,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I only need to visualize the f(t), for t in [a, b],&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; how do I sample F(w) and do the inverse FFT?&lt;br&gt;
&lt;br&gt;
There is no prescibed way to do this.  In general, the function&lt;br&gt;
fab(t) = f(t) for t in [a,b] but zero elsewhere has a transform&lt;br&gt;
Fab(w) with infinite support; i.e., there is no interval on (-&lt;br&gt;
inf,inf)&lt;br&gt;
where Fab(w) is identically zero. In addition there is no interval&lt;br&gt;
on (-inf,inf) where abs(Fab(w)) is guaranteed to be small.&lt;br&gt;
&lt;br&gt;
&amp;gt; &amp;gt; -------------------------&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; More generally, I am actually thinking of desing a "spectrum analyzer"&lt;br&gt;
&amp;gt; &amp;gt; with zoom-in feactures:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; as you can see, first do a coarse level inverse FFT to gain a big picture&lt;br&gt;
&amp;gt; &amp;gt; of the f(t) curve, and then allow user to zoom into a particular part of&lt;br&gt;
&amp;gt; &amp;gt; the f(t) curve and display it with higher resolution of IFFT.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; How to do all of these?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; This is not a joke post. I really have this question in my mind for long&lt;br&gt;
&amp;gt; time.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; When I truncate/extract out F(w) for w in [-B, B] and use step size deltaB&lt;br&gt;
&amp;gt; to sample it and then do IFFT, what is the portion of f(t) I see? Say f(t)&lt;br&gt;
&amp;gt; for t in [a, b]. What are a and b?&lt;br&gt;
&lt;br&gt;
Unfortunately, there is an inverse relationship between B and b-a.&lt;br&gt;
The&lt;br&gt;
extreme cases are B = 0 ==&amp;gt; b-a = inf  and b-a = 0 ==&amp;gt; B = inf (in&lt;br&gt;
particular,&lt;br&gt;
impulse &amp;lt;--&amp;gt; sinc). Consequently, there is no finite frequency&lt;br&gt;
interval that&lt;br&gt;
directly corresponds to a finite time interval.&lt;br&gt;
&lt;br&gt;
F(w) = FB(w) + FE(w),      -inf &amp;lt; w &amp;lt; inf&lt;br&gt;
&lt;br&gt;
FB(w) =     F(w), |w| &amp;lt; B      Bandlimited part of the spectrum&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=         0 , |w| &amp;gt; B&lt;br&gt;
FE(w) =          0, |w| &amp;lt; B&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=   F(w) , |w| &amp;gt; B&lt;br&gt;
&lt;br&gt;
Inverse transforming&lt;br&gt;
&lt;br&gt;
&amp;nbsp;f(t)   = fB(t) + fE(t),      0 &amp;lt;= t &amp;lt; inf&lt;br&gt;
&lt;br&gt;
where&lt;br&gt;
&lt;br&gt;
FB -&amp;gt; fB,       -inf &amp;lt; t &amp;lt; inf&lt;br&gt;
FE -&amp;gt; fE,       -inf &amp;lt; t &amp;lt; inf&lt;br&gt;
&lt;br&gt;
and&lt;br&gt;
&lt;br&gt;
fB(t)+fE(t) = 0 ,      -inf &amp;lt; t &amp;lt; 0.&lt;br&gt;
&lt;br&gt;
1. FB(w) = 0, |w| &amp;gt; B  ==&amp;gt;  fB is not time limited&lt;br&gt;
==&amp;gt; In general, there is no finite time interval [t0-d,t0+d] for&lt;br&gt;
which fB(t) = 0 for |t-t0| &amp;gt; d.&lt;br&gt;
2. Therefore fE = f-fB is also not time limited.&lt;br&gt;
3. Statements 1 and 2 are  true even if f is causal (i.e., f(t) = 0, t&lt;br&gt;
&amp;lt; 0).&lt;br&gt;
4. If f is causal, neither fB or fE are causal and fE = - fB for t &amp;lt;&lt;br&gt;
0.&lt;br&gt;
5. In intervals where |fB| &amp;gt;&amp;gt; |fE|, think of fB as a smooth version of&lt;br&gt;
f&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;and fE as the residual.&lt;br&gt;
&lt;br&gt;
&amp;gt; Now suppose I find there is some fine structure in [c, d], which is shown&lt;br&gt;
&amp;gt; from the visual display of f_hat(t), t in [a, b]. And a&amp;lt;c&amp;lt;d&amp;lt;b.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; How to do IFFT targeting at f(t) on [c, d] with higher resolution?&lt;br&gt;
&lt;br&gt;
Fine structure in any interval can be resolved by increasing B.&lt;br&gt;
Although this tends to increase the average of the ratio |fE^2| / |&lt;br&gt;
fB^2|&lt;br&gt;
over (-inf,inf), it is most significant in the intervals of interest&lt;br&gt;
where&lt;br&gt;
|fE^2| / |fB^2| is originally small.&lt;br&gt;
&lt;br&gt;
Hope this helps.&lt;br&gt;
&lt;br&gt;
Greg&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Tue, 20 Nov 2007 15:03:39 -0500</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#402251</link>
      <author>Chris Morrison</author>
      <description>Yopu can actually zoom using the spectrum scope provided in &lt;br&gt;
matlab.  Just the menu bars are hidden.  To view the menu &lt;br&gt;
bars type the following commands&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; set(0,'ShowHiddenHandles','On')&lt;br&gt;
&amp;gt;&amp;gt; set(gcf,'menubar','figure')&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
&lt;br&gt;
Chris&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
"Vista" &amp;lt;abc@gmai.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;f5sk5g$qmm$1@news.Stanford.EDU&amp;gt;...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And I have its spectrum F(w).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Let's say I found out that its main spectrum has 99.9% in &lt;br&gt;
[-B, B].&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; So I truncate/extract out the portion of F(w), for w in [-&lt;br&gt;
B, B], and &lt;br&gt;
&amp;gt; discretized the interval into small grids with step size &lt;br&gt;
deltaB.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And I then do the inverse FFT on the above samples of F&lt;br&gt;
(w), let's call the &lt;br&gt;
&amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If I want to zoom into a certain part of f(t), how can I &lt;br&gt;
use inverse FFT to &lt;br&gt;
&amp;gt; do that?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Let's say I only need [a, b] where 0&amp;lt;a&amp;lt;b&amp;lt; infinity, in &lt;br&gt;
the time domain,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I only need to visualize the f(t), for t in [a, b],&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; how do I sample F(w) and do the inverse FFT?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; -------------------------&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; More generally, I am actually thinking of desing &lt;br&gt;
a "spectrum analyzer" with &lt;br&gt;
&amp;gt; zoom-in feactures:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; as you can see, first do a coarse level inverse FFT to &lt;br&gt;
gain a big picture of &lt;br&gt;
&amp;gt; the f(t) curve, and then allow user to zoom into a &lt;br&gt;
particular part of the &lt;br&gt;
&amp;gt; f(t) curve and display it with higher resolution of IFFT.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How to do all of these?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks a lot! &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Tue, 20 Nov 2007 15:03:18 -0500</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#402249</link>
      <author>Chris Morrison</author>
      <description>Yopu can actually zoom using the spectrum scope provided in &lt;br&gt;
matlab.  Just the menu bars are hidden.  To view the menu &lt;br&gt;
bars type the following commands&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; set(0,'ShowHiddenHandles','On')&lt;br&gt;
&amp;gt;&amp;gt; set(gcf,'menubar','figure')&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
&lt;br&gt;
Chris&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
"Vista" &amp;lt;abc@gmai.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;f5sk5g$qmm$1@news.Stanford.EDU&amp;gt;...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And I have its spectrum F(w).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Let's say I found out that its main spectrum has 99.9% in &lt;br&gt;
[-B, B].&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; So I truncate/extract out the portion of F(w), for w in [-&lt;br&gt;
B, B], and &lt;br&gt;
&amp;gt; discretized the interval into small grids with step size &lt;br&gt;
deltaB.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And I then do the inverse FFT on the above samples of F&lt;br&gt;
(w), let's call the &lt;br&gt;
&amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If I want to zoom into a certain part of f(t), how can I &lt;br&gt;
use inverse FFT to &lt;br&gt;
&amp;gt; do that?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Let's say I only need [a, b] where 0&amp;lt;a&amp;lt;b&amp;lt; infinity, in &lt;br&gt;
the time domain,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I only need to visualize the f(t), for t in [a, b],&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; how do I sample F(w) and do the inverse FFT?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; -------------------------&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; More generally, I am actually thinking of desing &lt;br&gt;
a "spectrum analyzer" with &lt;br&gt;
&amp;gt; zoom-in feactures:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; as you can see, first do a coarse level inverse FFT to &lt;br&gt;
gain a big picture of &lt;br&gt;
&amp;gt; the f(t) curve, and then allow user to zoom into a &lt;br&gt;
particular part of the &lt;br&gt;
&amp;gt; f(t) curve and display it with higher resolution of IFFT.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How to do all of these?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks a lot! &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Tue, 20 Nov 2007 15:03:17 -0500</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#402248</link>
      <author>Chris Morrison</author>
      <description>Yopu can actually zoom using the spectrum scope provided in &lt;br&gt;
matlab.  Just the menu bars are hidden.  To view the menu &lt;br&gt;
bars type the following commands&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; set(0,'ShowHiddenHandles','On')&lt;br&gt;
&amp;gt;&amp;gt; set(gcf,'menubar','figure')&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
&lt;br&gt;
Chris&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
"Vista" &amp;lt;abc@gmai.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;f5sk5g$qmm$1@news.Stanford.EDU&amp;gt;...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And I have its spectrum F(w).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Let's say I found out that its main spectrum has 99.9% in &lt;br&gt;
[-B, B].&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; So I truncate/extract out the portion of F(w), for w in [-&lt;br&gt;
B, B], and &lt;br&gt;
&amp;gt; discretized the interval into small grids with step size &lt;br&gt;
deltaB.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And I then do the inverse FFT on the above samples of F&lt;br&gt;
(w), let's call the &lt;br&gt;
&amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If I want to zoom into a certain part of f(t), how can I &lt;br&gt;
use inverse FFT to &lt;br&gt;
&amp;gt; do that?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Let's say I only need [a, b] where 0&amp;lt;a&amp;lt;b&amp;lt; infinity, in &lt;br&gt;
the time domain,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I only need to visualize the f(t), for t in [a, b],&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; how do I sample F(w) and do the inverse FFT?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; -------------------------&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; More generally, I am actually thinking of desing &lt;br&gt;
a "spectrum analyzer" with &lt;br&gt;
&amp;gt; zoom-in feactures:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; as you can see, first do a coarse level inverse FFT to &lt;br&gt;
gain a big picture of &lt;br&gt;
&amp;gt; the f(t) curve, and then allow user to zoom into a &lt;br&gt;
particular part of the &lt;br&gt;
&amp;gt; f(t) curve and display it with higher resolution of IFFT.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How to do all of these?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks a lot! &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 29 Jun 2007 04:05:31 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#380208</link>
      <author>Yi Cao</author>
      <description>Vista wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; "Yi Cao" &amp;lt;y.cao@cranfield.ac.uk&amp;gt; wrote in message&lt;br&gt;
&amp;gt; news:ef5bd15.13@webcrossing.raydaftYaTP...&lt;br&gt;
&amp;gt;&amp;gt; Vista wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Hi folks,&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; This is not a joke post. I really have this question in my&lt;br&gt;
mind&lt;br&gt;
&amp;gt; for&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; long&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; time.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; When I truncate/extract out F(w) for w in [-B, B] and use&lt;br&gt;
step&lt;br&gt;
&amp;gt; size&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; deltaB&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; to sample it and then do IFFT, what is the portion of f(t)&lt;br&gt;
I&lt;br&gt;
&amp;gt; see?&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Say f(t)&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; for t in [a, b]. What are a and b?&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Now suppose I find there is some fine structure in [c, d],&lt;br&gt;
which&lt;br&gt;
&amp;gt; is&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; shown&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; from the visual display of f_hat(t), t in [a, b]. And&lt;br&gt;
&amp;gt;&amp;gt; a&amp;lt;c&amp;lt;d&amp;lt;b.&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; How to do IFFT targeting at f(t) on [c, d] with higher&lt;br&gt;
&amp;gt; resolution?&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; And so on and so forth?&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Thanks!&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; If you want to know relations between F(w) and f(t), here it&lt;br&gt;
is:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; The bandwidth of F(w), [0, B] determines the sample rate in&lt;br&gt;
f(t),&lt;br&gt;
&amp;gt;&amp;gt; i.e. 2B (in Hz) = 1/T (in second); The numer of samples of F(w)&lt;br&gt;
&amp;gt; in [0&lt;br&gt;
&amp;gt;&amp;gt; B] equals the number of samples of f(t) in [0 tf] after IFFT;&lt;br&gt;
&amp;gt; Then,&lt;br&gt;
&amp;gt;&amp;gt; tf, the time range of f(t) can be determined from T and number&lt;br&gt;
of&lt;br&gt;
&amp;gt;&amp;gt; samples.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; hth&lt;br&gt;
&amp;gt;&amp;gt; Yi&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks. If you want [c, d] in the time domain, not [0, tf], how to&lt;br&gt;
&amp;gt; do it?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Btw, I am not sure how the "0" (the left boundary) is determined?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
Depend on how you get F(w). If you get it from experiment, then c is&lt;br&gt;
determined by your record starting time, but reference it as 0. If&lt;br&gt;
you get F(w) from FFT of a time series f(t), then c is determined by&lt;br&gt;
the original f(t) when you pick of a section [c, d] of f(t) to&lt;br&gt;
perform FFT. Again, you can reference the starting time as 0. No way&lt;br&gt;
you can determine c purly from F(w) without any extra information.&lt;br&gt;
&lt;br&gt;
hth&lt;br&gt;
Yi&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 28 Jun 2007 19:01:19 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#380188</link>
      <author>Vista</author>
      <description>&lt;br&gt;
"Yi Cao" &amp;lt;y.cao@cranfield.ac.uk&amp;gt; wrote in message &lt;br&gt;
news:ef5bd15.13@webcrossing.raydaftYaTP...&lt;br&gt;
&amp;gt; Vista wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Hi folks,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; This is not a joke post. I really have this question in my mind for&lt;br&gt;
&amp;gt;&amp;gt; long&lt;br&gt;
&amp;gt;&amp;gt; time.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; When I truncate/extract out F(w) for w in [-B, B] and use step size&lt;br&gt;
&amp;gt;&amp;gt; deltaB&lt;br&gt;
&amp;gt;&amp;gt; to sample it and then do IFFT, what is the portion of f(t) I see?&lt;br&gt;
&amp;gt;&amp;gt; Say f(t)&lt;br&gt;
&amp;gt;&amp;gt; for t in [a, b]. What are a and b?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Now suppose I find there is some fine structure in [c, d], which is&lt;br&gt;
&amp;gt;&amp;gt; shown&lt;br&gt;
&amp;gt;&amp;gt; from the visual display of f_hat(t), t in [a, b]. And&lt;br&gt;
&amp;gt; a&amp;lt;c&amp;lt;d&amp;lt;b.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; How to do IFFT targeting at f(t) on [c, d] with higher resolution?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; And so on and so forth?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Thanks!&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt; If you want to know relations between F(w) and f(t), here it is:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The bandwidth of F(w), [0, B] determines the sample rate in f(t),&lt;br&gt;
&amp;gt; i.e. 2B (in Hz) = 1/T (in second); The numer of samples of F(w) in [0&lt;br&gt;
&amp;gt; B] equals the number of samples of f(t) in [0 tf] after IFFT; Then,&lt;br&gt;
&amp;gt; tf, the time range of f(t) can be determined from T and number of&lt;br&gt;
&amp;gt; samples.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; hth&lt;br&gt;
&amp;gt; Yi&lt;br&gt;
&lt;br&gt;
Thanks. If you want [c, d] in the time domain, not [0, tf], how to do it?&lt;br&gt;
&lt;br&gt;
Btw, I am not sure how the "0" (the left boundary) is determined?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 28 Jun 2007 14:26:46 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#380132</link>
      <author>Yi Cao</author>
      <description>Vista wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi folks,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; This is not a joke post. I really have this question in my mind for&lt;br&gt;
&amp;gt; long&lt;br&gt;
&amp;gt; time.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; When I truncate/extract out F(w) for w in [-B, B] and use step size&lt;br&gt;
&amp;gt; deltaB&lt;br&gt;
&amp;gt; to sample it and then do IFFT, what is the portion of f(t) I see?&lt;br&gt;
&amp;gt; Say f(t)&lt;br&gt;
&amp;gt; for t in [a, b]. What are a and b?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Now suppose I find there is some fine structure in [c, d], which is&lt;br&gt;
&amp;gt; shown&lt;br&gt;
&amp;gt; from the visual display of f_hat(t), t in [a, b]. And&lt;br&gt;
a&amp;lt;c&amp;lt;d&amp;lt;b.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; How to do IFFT targeting at f(t) on [c, d] with higher resolution?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; And so on and so forth?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
If you want to know relations between F(w) and f(t), here it is:&lt;br&gt;
&lt;br&gt;
The bandwidth of F(w), [0, B] determines the sample rate in f(t),&lt;br&gt;
i.e. 2B (in Hz) = 1/T (in second); The numer of samples of F(w) in [0&lt;br&gt;
B] equals the number of samples of f(t) in [0 tf] after IFFT; Then,&lt;br&gt;
tf, the time range of f(t) can be determined from T and number of&lt;br&gt;
samples.&lt;br&gt;
&lt;br&gt;
hth&lt;br&gt;
Yi&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 28 Jun 2007 06:55:04 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#380068</link>
      <author> Steve.Amphlett@ricardo.com</author>
      <description>&amp;lt;snip, terminolgy?...&lt;br&gt;
&lt;br&gt;
Maybe the OP is trying to describe Zoom-FFT?  Maybe not, but worth a&lt;br&gt;
punt.  This sort of well-known stuff: &lt;a href="http://www.numerix-dsp.com/zoomfft.html"&gt;http://www.numerix-dsp.com/zoomfft.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 27 Jun 2007 20:44:57 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#379957</link>
      <author>Vista</author>
      <description>Hi folks,&lt;br&gt;
&lt;br&gt;
This is not a joke post. I really have this question in my mind for long &lt;br&gt;
time.&lt;br&gt;
&lt;br&gt;
When I truncate/extract out F(w) for w in [-B, B] and use step size deltaB &lt;br&gt;
to sample it and then do IFFT, what is the portion of f(t) I see? Say f(t) &lt;br&gt;
for t in [a, b]. What are a and b?&lt;br&gt;
&lt;br&gt;
Now suppose I find there is some fine structure in [c, d], which is shown &lt;br&gt;
from the visual display of f_hat(t), t in [a, b]. And a&amp;lt;c&amp;lt;d&amp;lt;b.&lt;br&gt;
&lt;br&gt;
How to do IFFT targeting at f(t) on [c, d] with higher resolution?&lt;br&gt;
&lt;br&gt;
And so on and so forth?&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
"Vista" &amp;lt;abc@gmai.com&amp;gt; wrote in message &lt;br&gt;
news:f5sk5g$qmm$1@news.Stanford.EDU...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; And I have its spectrum F(w).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Let's say I found out that its main spectrum has 99.9% in [-B, B].&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; So I truncate/extract out the portion of F(w), for w in [-B, B], and &lt;br&gt;
&amp;gt; discretized the interval into small grids with step size deltaB.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; And I then do the inverse FFT on the above samples of F(w), let's call the &lt;br&gt;
&amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If I want to zoom into a certain part of f(t), how can I use inverse FFT &lt;br&gt;
&amp;gt; to do that?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Let's say I only need [a, b] where 0&amp;lt;a&amp;lt;b&amp;lt; infinity, in the time domain,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I only need to visualize the f(t), for t in [a, b],&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; how do I sample F(w) and do the inverse FFT?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; -------------------------&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; More generally, I am actually thinking of desing a "spectrum analyzer" &lt;br&gt;
&amp;gt; with zoom-in feactures:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; as you can see, first do a coarse level inverse FFT to gain a big picture &lt;br&gt;
&amp;gt; of the f(t) curve, and then allow user to zoom into a particular part of &lt;br&gt;
&amp;gt; the f(t) curve and display it with higher resolution of IFFT.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; How to do all of these?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks a lot!&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 27 Jun 2007 08:21:35 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#379788</link>
      <author> NZTideMan</author>
      <description>On Jun 27, 7:14 pm, Oli Charlesworth &amp;lt;c...@olifilth.co.uk&amp;gt; wrote:&lt;br&gt;
&amp;gt; On Jun 27, 4:06 am, "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Hi all,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; And I have its spectrum F(w).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Let's say I found out that its main spectrum has 99.9% in [-B, B].&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; So I truncate/extract out the portion of F(w), for w in [-B, B], and&lt;br&gt;
&amp;gt; &amp;gt; discretized the interval into small grids with step size deltaB.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; And I then do the inverse FFT on the above samples of F(w), let's call the&lt;br&gt;
&amp;gt; &amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Just as sampling a non-bandlimited function in the time domain causes&lt;br&gt;
&amp;gt; time-domain aliasing, the dual occurs in your scenario.  You are&lt;br&gt;
&amp;gt; sampling a non-time-limited function in the frequency domain, which&lt;br&gt;
&amp;gt; will cause frequency-domain aliasing.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; Oli&lt;br&gt;
&lt;br&gt;
It's very interesting.&lt;br&gt;
We've all got different ideas about what Vista is trying to do.&lt;br&gt;
The only thing we all agree on is that he/she is going about it the&lt;br&gt;
wrong way.&lt;br&gt;
Perhaps Vista is a troll, deliberately posing an inane question, then&lt;br&gt;
sitting back to watch the fun.&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 27 Jun 2007 07:09:13 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#379779</link>
      <author> Srikanth</author>
      <description>when you say you want to zoom in on certain parts of f(t), what do you&lt;br&gt;
mean? The data is already in form of samples, you really can't get new&lt;br&gt;
data, since all the information is already in the samples. For example&lt;br&gt;
if your samples represent the signal at T,2T etc, there is no way you&lt;br&gt;
can exactly know what happened at 1.5 T - that data is lost. For your&lt;br&gt;
application, the easiest way would be to display every 10th sample,&lt;br&gt;
for example, to start with. Then, if the user selects a region,&lt;br&gt;
display every 5th sample in that region. If he zooms in further,&lt;br&gt;
display every sample. If he goes closer than this, you need to do some&lt;br&gt;
interpolation.&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 27 Jun 2007 05:26:13 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#379827</link>
      <author> John Hadstate</author>
      <description>On Jun 26, 11:06 pm, "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; And I have its spectrum F(w).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Let's say I found out that its main spectrum has 99.9% in [-B, B].&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; So I truncate/extract out the portion of F(w), for w in [-B, B], and&lt;br&gt;
&amp;gt; discretized the interval into small grids with step size deltaB.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; And I then do the inverse FFT on the above samples of F(w), let's call the&lt;br&gt;
&amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
It depends on what you mean by "focus".  If you mean "set all the&lt;br&gt;
unwanted spectral components to zero" and then you IFFT the result,&lt;br&gt;
f_hat(nT) represents a filtered version of the original f(nT) over the&lt;br&gt;
entire interval represented by the samples of f(nT).&lt;br&gt;
&lt;br&gt;
If, by "focus", you mean "discard the unwanted spectral components"&lt;br&gt;
and then you IFFT the result (containing a smaller number of spectral&lt;br&gt;
components), f_hat(nT_prime) represents a decimated and filtered&lt;br&gt;
version of the original f(nT), still over the entire interval&lt;br&gt;
represented by the samples of f(nT).&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 27 Jun 2007 05:11:23 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#379767</link>
      <author> NZTideMan</author>
      <description>On Jun 27, 3:49 pm, "Ron N." &amp;lt;rhnlo...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; On Jun 26, 8:06 pm, "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; And I have its spectrum F(w).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Let's say I found out that its main spectrum has 99.9% in [-B, B].&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; So I truncate/extract out the portion of F(w), for w in [-B, B], and&lt;br&gt;
&amp;gt; &amp;gt; discretized the interval into small grids with step size deltaB.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; And I then do the inverse FFT on the above samples of F(w), let's call the&lt;br&gt;
&amp;gt; &amp;gt; inverse FFT reconstruction f_hat.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Which part of f(t) does this inverse FFT f_hat represent?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; In order to meaningfully sample F(w), you need to know&lt;br&gt;
&amp;gt; something about its smoothness, else your sample points&lt;br&gt;
&amp;gt; might fall into deep gaps in F(w), or some-such.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; There may also be a theorem saying that the width of&lt;br&gt;
&amp;gt; some portion of a waveform in one domain is inversely&lt;br&gt;
&amp;gt; proportional to its width in the other domain.  The&lt;br&gt;
&amp;gt; smaller the wiggles in f(t) you want to see, the wider&lt;br&gt;
&amp;gt; you need to make [-B, B], which makes sense, since the&lt;br&gt;
&amp;gt; higher frequency components in F(w) are what produces&lt;br&gt;
&amp;gt; the densest small wiggles in f(t).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If you want a tiny enough window from an ifft (much&lt;br&gt;
&amp;gt; less than log(n) points), you might be better off&lt;br&gt;
&amp;gt; directly calculating a segment of the dft.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; IMHO. YMMV.&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; rhn A.T nicholson d.0.t C-o-M&lt;br&gt;
&lt;br&gt;
What you're doing is "band-pass filtering".&lt;br&gt;
You'll need to take the sqrt because a spectrum is energy, but you&lt;br&gt;
want amplitude for the ifft.&lt;br&gt;
But the spectrum contains no information on phase, so what are you&lt;br&gt;
going to do about that?&lt;br&gt;
Also, you must be aware that you'll have problems with Gibb's&lt;br&gt;
phenomenon which causes "ringing" in the inverse Fourier transform.&lt;br&gt;
To avoid that you'll need to smoothly taper the spectral cutoffs - I&lt;br&gt;
use a tanh function for this.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 27 Jun 2007 04:56:22 -0400</pubDate>
      <title>Re: How to zoom into a certain part of FFT?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151037#379793</link>
      <author>Dave Robinson</author>
      <description>&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Suppose I have a signal f(t), t is in [0, +infinity).&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&lt;br&gt;
Your problem is completely academic. you don't need to solve it, you&lt;br&gt;
just don't have time. Even if you get a solution - with the signal&lt;br&gt;
going all the way to infinity you will only have just started your&lt;br&gt;
data acquisition by the time you die of old age, and it will still be&lt;br&gt;
going strong when the sun goes nova. Sit back and enjoy a beer is&lt;br&gt;
what I would do in your place;-)&lt;br&gt;
&lt;br&gt;
Dave Robinson&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
