MATLAB: How can i implement fft on sine wave then plot it

fft

i want to do fft of the sin wave then want to see the plot of it

Best Answer

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.
Related Question