How can change the time domain data into length domain data?

1 回表示 (過去 30 日間)
Cheng Kang
Cheng Kang 2016 年 1 月 25 日
コメント済み: Star Strider 2016 年 1 月 26 日
Now I have a set of acceleration data in time-domain, the interval time (2s) and the speed (5 mm/s) are known. I want to ask, How can I change the acceleration data(time domain) into acceleration data (length-domain).
thanks for the helping. Regards.

採用された回答

Star Strider
Star Strider 2016 年 1 月 25 日
As best I can understand, you want acceleration in terms of distance. I would use two cumtrapz integrations to get distance from acceleration:
dx2dt2 = 0:0.01:1; % Acceleration Vector
x = cumtrapz(cumtrapz(dx2dt2)); % Distance Vector
figure(1)
plot(x, dx2dt2)
grid
  4 件のコメント
Cheng Kang
Cheng Kang 2016 年 1 月 26 日
Thanks for the answer. I understand it now. :D I wish you have a great day.
Star Strider
Star Strider 2016 年 1 月 26 日
My pleasure.
I wish you the same.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by