Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: FFT of chirp signal
Replies: 3   Last Post: Nov 22, 2012 2:12 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
naser

Posts: 61
Registered: 3/20/09
FFT of chirp signal
Posted: Jan 31, 2010 10:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I generate a chirp signal with matlab. I want to plot FFT of this signal but results is wrong.I think FFt this signal must be a line in a interval frequency.

Would you please help me.

t=[0:1e-6:400/1000];
y=chirp(t,100,.4,100000);
Y = fft(y,1024);
Pyy = Y.* conj(Y) / 1024;
f = 1000000*(0:512)/1024;
plot(f,Pyy(1:513))
title('Frequency content of y')
xlabel('frequency (Hz)')



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.