A problem on FFT
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
A problem on FFT

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP
Author Message
pramodchowda@gmail.com
Guest





Posted: Sun Dec 19, 2004 5:25 pm    Post subject: A problem on FFT Reply with quote

Hi,

Could anyone give solution to this problem ?

Write a program to compute the 128 point FFT for the signal, x(n) =
cos(n *pi)/2.Also plot the FFT spectra.
any pointer would be helpful

Thanks
Pramod
Back to top
Fred
Guest





Posted: Sun Dec 19, 2004 6:23 pm    Post subject: Re: A problem on FFT Reply with quote

pramodchowda@gmail.com wrote:

Quote:
Hi,

Could anyone give solution to this problem ?

Write a program to compute the 128 point FFT for the signal, x(n) =
cos(n *pi)/2.Also plot the FFT spectra.
any pointer would be helpful

Thanks
Pramod


But you only have one frequency?

f=1/4 cycle/sample

so that is your spectra.

you can use matlab fft(). are you being asked to code fft function
itself from scratch?
Back to top
Jerry Avins
Guest





Posted: Sun Dec 19, 2004 6:27 pm    Post subject: Re: A problem on FFT Reply with quote

pramodchowda@gmail.com wrote:

Quote:
Hi,

Could anyone give solution to this problem ?

Write a program to compute the 128 point FFT for the signal, x(n) =
cos(n *pi)/2.Also plot the FFT spectra.
any pointer would be helpful

Thanks
Pramod

Homework?

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Back to top
Stephen Maudsley
Guest





Posted: Sun Dec 19, 2004 9:38 pm    Post subject: Re: A problem on FFT Reply with quote

"Fred" <Fred@nowhere.com> wrote in message
news:Ghfxd.495$yV1.279@newssvr14.news.prodigy.com...
Quote:
pramodchowda@gmail.com wrote:

Hi,

Could anyone give solution to this problem ?

Write a program to compute the 128 point FFT for the signal, x(n) =
cos(n *pi)/2.Also plot the FFT spectra.
any pointer would be helpful

Thanks
Pramod


But you only have one frequency?

f=1/4 cycle/sample

so that is your spectra.

you can use matlab fft(). are you being asked to code fft function
itself from scratch?

Could be the trick question to encourage "thinking before coding".
Back to top
Daniel Nilsson
Guest





Posted: Mon Dec 20, 2004 1:09 am    Post subject: Re: A problem on FFT Reply with quote

Quote:
But you only have one frequency?

f=1/4 cycle/sample

so that is your spectra.

The signal is windowed by a 128 sample long window, this will make the
FFT different from a single frequency value.
Back to top
S A kumar
Guest





Posted: Mon Dec 20, 2004 7:58 am    Post subject: Re: A problem on FFT Reply with quote

Is Google groups turning into some sort of online homework assistance?
Back to top
Eric Jacobsen
Guest





Posted: Mon Dec 20, 2004 11:59 pm    Post subject: Re: A problem on FFT Reply with quote

On 19 Dec 2004 19:05:13 -0800, "S A kumar" <arun.sakumar@gmail.com>
wrote:

Quote:
Is Google groups turning into some sort of online homework assistance?

Or something like that. I have noticed that the quality of some the
questions is going way down, close to the point of handholding. I get
the impression that some folks are posting questions before even
thinking about it enough to frame the question clearly.

It is a little tough sometimes to assess how much of that is due to a
language barrier, though.


Eric Jacobsen
Minister of Algorithms, Intel Corp.
My opinions may not be Intel's opinions.
http://www.ericjacobsen.org
Back to top
Mike Yarwood
Guest





Posted: Tue Dec 21, 2004 12:18 am    Post subject: Re: A problem on FFT Reply with quote

<pramodchowda@gmail.com> wrote in message
news:1103459121.614956.308770@f14g2000cwb.googlegroups.com...
Quote:
Hi,

Could anyone give solution to this problem ?

Write a program to compute the 128 point FFT for the signal, x(n) =
cos(n *pi)/2.Also plot the FFT spectra.
any pointer would be helpful

Thanks
Pramod

Hi Pramod your input signal is a repetition of -0.5 , +0.5 to fill yor fft

( or +0.5, -0.5 if you start with n=0).

Best of luck - Mike
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB