How can i implement fft on sine wave then plot it ?

 Respuesta aceptada

Image Analyst
Image Analyst el 27 de Sept. de 2014

0 votos

Did you try sin(), fft(), imag(), and real(), and plot()? I attach two demos that I have that do FFTs. They probably don't do exactly what you asked but they may be instructive anyway.

2 comentarios

Hassan
Hassan el 13 de Oct. de 2014
Thanks for your message i actually tried as in the attached picture to do FFT of the y function and no idea if what ive got is the fft of y function . if its right how can i plot it then ? . best regards
Image Analyst
Image Analyst el 13 de Oct. de 2014
What attached picture? Did you try either of my demos? To plot, have you tried the functions I listed?

Iniciar sesión para comentar.

Más respuestas (1)

Rick Rosson
Rick Rosson el 27 de Sept. de 2014
doc sin
doc cos
doc fft
doc fftshift
doc abs
doc plot
doc stem

1 comentario

Hassan
Hassan el 13 de Oct. de 2014
thanks for the message would u explain what doc mean cause i am new to matlab ? best regards

Iniciar sesión para comentar.

Categorías

Más información sobre Fourier Analysis and Filtering en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 27 de Sept. de 2014

Comentada:

el 13 de Oct. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by