필터 지우기
필터 지우기

Acceleration to Amplitude versus time

조회 수: 1 (최근 30일)
Yasmeen Ismail
Yasmeen Ismail 2019년 3월 28일
답변: Amal George M 2019년 4월 1일
Hello,
I have accelerometer data of acceleration versus time, and I need to integrate it twice to get amplitude versus time to eventually use the fourier transform to get a frequency. Currently, when I use cumtrapz to integrate the data it will always give me a pretty straight line. I need it to be something that looks like a sinusoid. Can you explain why this is happening/what I can do to fix it?
Also, how would I do the fourier transform on something that is an array with time and amplitude components (it seems as though fourier only takes in a single vector)?

답변 (1개)

Amal George M
Amal George M 2019년 4월 1일
It looks like the acceleration value is always positive. If appropriate, consider negating the effect of gravity from the data.

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by