Interpreting FFT Graph with Noise Floor
Mostra commenti meno recenti
Hello,
I am trying to analyze data that I recorded from the Force Sensitive Resistors (FSRs) coded on Arduino through data streamer on excel. I used four FSRs, so there are 4 columns of data over a set of time (1200 rows, about 15 seconds). I seperated time from the FSR data so that I can graph the FFT of the FSR data against the time.
I succesfully made a correct code and have proper results from it, however I need help interpeting the graphs.
Code:
X = importdata('tapedata.csv');
t = importdata('tapetimefix.csv');
subplot(2,1,1);
plot(t,X);
grid
xlabel('Time')
ylabel('Amplitude')
title('FSR Recording (Tape)');
L = numel(X);
Ts = mean(diff(t));
% Tsd = std(mean(diff(t)))
Fs = 1/Ts;
Fn = Fs/2;
xft=fft(X-mean(X),[],1)/L;
xabs = abs(xft);
subplot(2,1,2);
plot(t,xabs);
Fv = linspace(0, 1, fix(L/2)+1)*Fn;
Iv = 1:numel(Fv);
xabs = abs(xft);
subplot(2,1,2);
plot(Fv,mag2db(xabs(Iv)*2))
grid
ylim([-75 50])
xlabel('Freqency [units]')
ylabel('Power [dB]')
title('FFT Analysis Graph (Tape)');

I was wondering is that just a lot noise or if there are no deviances from -50db meaning the FSRs is constant?
6 Commenti
David Goodmanson
il 10 Mag 2021
Hi Raidah,
Mostly nioise, but it's surprising that there are not a few larger peaks down at the first five or so frequencies. If you look at the linear plot and don't overwrite it with the dB plot, is there anything going on at the smallest frequencies?
Raidah Zaman
il 10 Mag 2021
Star Strider
il 10 Mag 2021
The fft displayed is not the Fourier transform of the yellow line.
There is something wrong with the fft call.
Raidah Zaman
il 10 Mag 2021
Star Strider
il 10 Mag 2021
It is not using whatever row or column that creates the yellow line to calculate the fft.
Since ‘tapedata.csv’ and ‘tapetimefix.csv’ are not provided, it is not possible to provide further details.
Raidah Zaman
il 10 Mag 2021
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





