필터 지우기
필터 지우기

velocity from xyz coordinates

조회 수: 9 (최근 30일)
Morten Jørgensen
Morten Jørgensen 2019년 3월 13일
편집: KSSV 2019년 3월 13일
Hi,
I want to find the velocity of a football
I have a array called "Ball" 15001x3 with the XYZ coordinates of the ball. and i have an array "time" 15001x1 with the time steps.
the samplefrequence is 25 Hz.
how should i approach this to find the velocity of the Ball?
thanks

채택된 답변

KSSV
KSSV 2019년 3월 13일
편집: KSSV 2019년 3월 13일
Get the mean of ball i.e from 15001x3 array at each time step...you will get 15001X3 means..i.e a single mean at each time step..and you said there are 15001 time steps.
Use diff and get difference of x,y,z of the mean. Divide this diff (dx,dy,dz) with diff of time i,e dt step. You have your velocity.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete Data Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by