FFT from CSV data file
古いコメントを表示
Hello,
I have a large CSV file with 1 collum of data. This data contains ~1100 entries.
Now i want to use the FFT on this data. I know T (296s) and f (3.378e-3). I have imported the data with double click on the csv file. Now i can plot my data
But how can I now use this information for the FFT? I tried it with the help of this https://de.mathworks.com/help/matlab/ref/fft.html but what is my S and what is my X?
Fs = 0.00378; % Sampling frequency
T = 1/Fs; % Sampling period
L = 1040; % Length of signal
t = (0:L-1)*T; % Time vector
How can i now refer those informations to the FFT and my data.csv?
I would be delighted to any help.
4 件のコメント
Star Strider
2016 年 10 月 23 日
Attach your data. Use the ‘paperclip’ icon.
buumms
2016 年 10 月 23 日
Prerak Chapagain
2018 年 6 月 13 日
Can you please post the data.csv file that you used? Can't find it. I am trying to learn and was trying to use this as an example.
Niki AdiNegoro
2020 年 1 月 20 日
Can you please attach the data.csv you used? thank you
採用された回答
その他の回答 (1 件)
KSSV
2016 年 10 月 20 日
Say you have read your data from csv file into X.
X = csvread(filename) ;
Then use
Y = fft(X) ;
カテゴリ
ヘルプ センター および File Exchange で Digital Filter Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
