Climbing Power Equation: how to make a calculation into usable code
1 view (last 30 days)
I'm trying to write a specific equation that includes derivation. This specifically:
The data I am looking at is from three cameras focused on a flying bird. after running the position data through some smoothing functions its derived to get velocity and acceleration.
So I'm working with the velocities in the X,Y, and Z directions in an excel file (aDdatafilt1).
Heres what I have so far but I don't think Im using diff() correctly:
%GENERATE CLIMB POWER FOR BIRD "A"
ZPos=aDdata(:,3); % aDdata = position data
t=[1/60] ; %fps of cams = 60
Pkm = diff(Pkmt,t)