MATLAB Answers

Mat CR
0

double integration of acceleration data with offset

Mat CR
さんによって質問されました 2019 年 11 月 19 日 0:21
最新アクティビティ Mat CR
さんによって 編集されました 2019 年 12 月 6 日 21:11
hello there
i want to use the accerleration with offset added to it and then double intgrate using cumtrapz to obtain velocity and position, but when i plot my offset position it doesnt look anywhere near my real position even tho it has only 0.1 offset from integrating acceleration.
here is the code i used
this question has already been answerd

  0 件のコメント

サインイン to comment.

1 件の回答

James Tursa
James Tursa 님의 답변 19 Nov 2019 2:02
James Tursa 님이 편집함. 19 Nov 2019 2:03
 채택된 답변

You put a constant offset into the acceleration, not the position. The result of double integrating a constant is going to be a (1/2)(constant offset)*t.^2 offset in position. I.e., growing position difference with time, not a constant offset position.

  0 件のコメント

サインイン to comment.



Translated by