필터 지우기
필터 지우기

How do you calculate jump height from a force time graph?

조회 수: 4 (최근 30일)
Seth
Seth 2013년 5월 16일
Im looking to write a script that will automatically work out the jump height from force platform data measuring at 1000Hz. The code I have so far is:
r = find(truedata==0,1,'first'); % find when first 0 occurs
truedata = (truedata(1:r+1,6)*-1); % cut data bw = mean(truedata(1:20,1)); % find body weight
Jbw = bw*(r*(1/1000)); % work out impulse caused by body weight t = [0:1/1000:r/1000]; % change in time
Jall = trapz(t,truedata); % calculate impulse of whole graph impulse = (Jall-Jbw); % calculate jump impulse
vel = (impulse/(bw/9.81)); % calculate take off velocity
jumpheight = ((vel^2)/(2*9.81)); % equation of motion This however is not giving me the correct answers, could anyone see a problem in my calculations?
  댓글 수: 4
Seth
Seth 2013년 5월 16일
it should read:
r = find(truedata==0,1,'first'); % find when first 0 occurs
truedata = (truedata(1:r+1,6)*-1); % cut data
bw = mean(truedata(1:20,1)); % find body weight
Jbw = bw*(r*(1/1000)); % work out impulse caused by body weight
t = [0:1/1000:r/1000]; % change in time
Jall = trapz(t,truedata); % calculate impulse of whole graph impulse = (Jall-Jbw); % calculate jump impulse
vel = (impulse/(bw/9.81)); % calculate take off velocity
jumpheight = ((vel^2)/(2*9.81)); % equation of motion
This however is not giving me the correct answers, could anyone see a problem in my calculations?
Walter Roberson
Walter Roberson 2013년 5월 16일
The code Seth posted runs lines together. It is not a {code} formatting issue, more newlines are needed to make sense of the code.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by