navigation - MATLAB Calculate time given Aircraft trajectory -


i'm trying calculate cumulative time of aircraft trajectory given following parameters:

roll pitch trueheading headingrateofchange xvelocity yvelocity zvelocity latitude longitude altitude 

the data file contains 10,000 points each of above parameters, representing trajectory @ each of points.

so far, have done calculate radial velocity squaring velocity components, summing them, , taking square root of sum i.e:

rvelocity = sqrt(vx.^2 + vy.^s + vz.^2) % 9999x1 column vector 

then use matlab distance function calculate arclength distance:

al = distance(pt1,pt2,wgs84ellipsoid) % 9999x1 column vector 

finally, divide al rvelocity:

time = al./rvelocity % 9999x1 column vector 

after work, seems bogus answer... can recommend better way implement this?


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -