-
Notifications
You must be signed in to change notification settings - Fork 2
2.5.15 plotFFT()
Shun Li edited this page Jan 4, 2024
·
1 revision
This function plots the amplitude of each frequency by performing fast Fourier transform (FFT).
Required
-
signal: double, the signal to perform FFT on.
Options
-
Fs: double, default is 2000; determines the sampling frequency of the signal. -
pointsToEstimateCarrier: double, default is 1e6; determines the minimum number of samples o estimate the carrier frequency. -
xlim: double, default is [0, inf]; determines the x axis limit of the final plot.
There is no explicit output of this function.
figure; plotFFT(labjack.raw(1,:));
