help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inverse fourier transfrom ifft problem, need help


From: Dirk Laurie
Subject: Re: inverse fourier transfrom ifft problem, need help
Date: Mon, 6 Mar 2000 09:10:08 +0200 (SAST)

eric skryf:
> 
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0011_01BF86E2.7ED851A0
> Content-Type: multipart/related;
>       type="multipart/alternative";
>       boundary="----=_NextPart_001_0012_01BF86E2.7ED851A0"
> 
> 
> ------=_NextPart_001_0012_01BF86E2.7ED851A0
> Content-Type: multipart/alternative;
>       boundary="----=_NextPart_002_0013_01BF86E2.7ED851A0"
> 
> 
> ------=_NextPart_002_0013_01BF86E2.7ED851A0
> Content-Type: text/plain;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 

I've left the above in on purpose so you can see how your horrible
mail software looks to others who don't use the same package.
It required much goodwill from me to read past that to your 
question.  Next time please use something with fewer frills.
(The =3D etc is also caused by your mail software.)

> Dear Octave/Matlab expert:
> 
> 
> 
> .   We know the inver fourier transform of sinc is a rectangular =
> funciton=20
> 
> 
> We know=20
> 
> As=20
> 
> So
> 
> 
> 
> my following code try to do so in matlab student verson 5.3,
> 
> f=3D-128:128;
> 
> y=3D((sin(pi*f)/(pi*f)))
> 
This is the error.  You must code  sin(pi*f)./(pi*f) to get
term by term division.  sin(pi*f)/(pi*f) gives just a number.
Try it on its own and see for yourself.

Dirk



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]