필터 지우기
필터 지우기

numeric integration of datapoints

조회 수: 1 (최근 30일)
Mos_bad
Mos_bad 2019년 5월 26일
댓글: Walter Roberson 2019년 5월 26일
I have time (dt) acceleration (Acc) data points. I need to plot velocity (vel) and displacement (disp) vs time and also calculate peak velocity (V_max) and peak displacement (d_max). I have used "cumtrapz" to do so as below:
vel=cumtrapz (dt,Acc); % velocity
disp=cumtrapz(dt,vel); % displacement
v_max=max(vel);
d_max=max(disp);
However, the peak velocity and displacement are not accurate. Is there a way to approximate them more accurately?
  댓글 수: 3
Mos_bad
Mos_bad 2019년 5월 26일
Because the data are ground motions and downloaded from USGS I have peak values of some. they do not match. I am not sure if fft helps or not.
Walter Roberson
Walter Roberson 2019년 5월 26일
trapazoid rule is about the best numeric integration you can get when you do not have a model function. Earthquake movement studies have developed some model functions, and so can improve on trapazoid rule in some cases.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geology에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by