Path: news.mathworks.com!not-for-mail
From: "Chen Sagiv" <chensagivron@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: time and frequency domain
Date: Sun, 11 May 2008 11:00:22 +0000 (UTC)
Organization: Image Processing &#38; Math More
Lines: 34
Message-ID: <g06jk6$3iq$1@fred.mathworks.com>
References: <g03rl9$2pf$1@fred.mathworks.com> <g03tua$bpi$1@fred.mathworks.com>  <3c59d7c3-618b-44c2-816a-b58be9319b4d@24g2000hsh.googlegroups.com>
Reply-To: "Chen Sagiv" <chensagivron@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210503622 3674 172.30.248.35 (11 May 2008 11:00:22 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 11 May 2008 11:00:22 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 805005
Xref: news.mathworks.com comp.soft-sys.matlab:467779


Hi Greg,

No, it doesn't help. Can you explain your very short 
response ?

Thanks,

Chen 

Greg Heath <heath@alumni.brown.edu> wrote in message 
<3c59d7c3-618b-44c2-816a-
b58be9319b4d@24g2000hsh.googlegroups.com>...
> On May 10, 3:58=A0pm, "Chen Sagiv" 
<chensagiv...@gmail.com> wrote:
> > Hi,
> >
> > It is not important when you plot the abs of the FT, but
> > shouldn't you use instead:
> >
> > > f1 =3D zeros(1,512);
> > > f1(128:383) =3D hamming(256);
> >
> > > f2 =3D zeros(1,512);
> > > f2(128:383) =3D 1;
> >
> > > fft_f1 =3D fftshift(fft(ifftshift(f1),2048));
> > > fft_f2 =3D fftshift(fft(ifftshift(f2),2048));
> 
> Absolutely not!
> 
> Hope this helps.
> 
> Greg