MATLAB Answers

How to do FFT on accelerometer excel data in Matlab?

5 views (last 30 days)
Omkar Shelar
Omkar Shelar on 5 Oct 2020
Commented: Omkar Shelar on 5 Oct 2020
Hello,
I have to perform FFT on accelerometer data which is stored in excel. I have time domain data in excel file. I have attached the excel file.

  0 Comments

Sign in to comment.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 5 Oct 2020
Edited: Sulaymon Eshkabilov on 5 Oct 2020
  1. Import your data
  2. Perfform fft(). Here is a nice documentation how to sue fft().

  2 Comments

Omkar Shelar
Omkar Shelar on 5 Oct 2020
The data in excel has 2500 entries. Do I have to limit the entries to 2048?
Omkar Shelar
Omkar Shelar on 5 Oct 2020
I also need to plot the amplitude vs the frequency graph to get the fundamental frequency. Can someone help me with the code?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!