Integrating velocity data with cumtrapz()
조회 수: 15 (최근 30일)
이전 댓글 표시
Hi,
I have a quite long vector with the longitudinal velocity data of a car. As it only drives forward, there are no negative values. However, when I integrate the vector using cumtrapz() the calculated data which are supposed to be the traveled distance, are also decreasing and even becoming negative.
Used Timestamps for cumtrapz are 0:0.01:59.53 The velocity vector is attached.
Thanks in advance! -Fabian
댓글 수: 1
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!