Integration of Velocity data to Displacement

조회 수: 8 (최근 30일)
Angelos Mongolias
Angelos Mongolias 2019년 11월 12일
댓글: Angelos Mongolias 2019년 11월 12일
Hello,
I have some velocity (seismic) data and i want to convert them to displacement.
The sampling rate is 1000Hz so that means that if I want to find the displacement for 1 sec
I have 1000 values.
There is a list of commands that I can use but I am not sure which one suits to my case.
I just need to convert a list of data.
Any proposals?

답변 (1개)

Daniel M
Daniel M 2019년 11월 12일
편집: Daniel M 2019년 11월 12일
Use cumtrapz as in
displacement = cumtrapz(velocity)/fs; % where fs is your sampling rate
Then you can assess afterwards if the accuracy is suitable for your application or whether you need a different method.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by