Is it possible to get digital data(8 bit conversion) of the following imported file & get fft of that digital data?What would be the code for it?
3 views (last 30 days)
Show older comments
Analog to digital conversion and FFT
0 Comments
Answers (1)
Walter Roberson
on 26 May 2017
cur_data = importdata('current.txt');
cur = cur_data.data(:,2);
cur_8bit = round(cur ./ max(cur) * 255);
result = fft(cur_8bit);
0 Comments
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!