FFT to a simple sine wave
2 ビュー (過去 30 日間)
古いコメントを表示
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1676171/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1676171/image.png)
1 件のコメント
回答 (1 件)
Star Strider
2024 年 4 月 22 日
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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!