FFT to a simple sine wave

I have a simple text file with two columns, amplitude and time steps values. i want to apply fft to the signal so that output should look like attached picture. consider just one waveform.

1 Comment

What have you tried yet?
What issues are you facing?

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 22 Apr 2024
I am not certain what the independent variable axis is (the label is cut off), however if you want a power spectral density plot, use the pwelch function.

Tags

Asked:

on 22 Apr 2024

Answered:

on 22 Apr 2024

Community Treasure Hunt

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

Start Hunting!