Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/30/2014 in all areas

  1. "Threshhold 1D array" on the max and min, that gives the max and min indeces. Then grab the array subset based on that. It works only on sorted arrays, which you have.
    3 points
  2. Well, as acceleration is just the second derivative of position surely you just double integrate the acceleration. (I jest...) I think it will be very difficult to infer any kind of accurate absolute position and velocity in 3D space with the measurements you have available, especially on a rocket! As some of the other links show, a Kalman filter type approach may be a good starting point, but I still think this is a very tricky proposition given the speeds your rocket is likely to be travelling at. Can you not add a simple GPS device to your rocket?
    1 point
  3. I'm sure you have it in a specific format, but if you want to go with the ISO standard for having time as a string. http://lavag.org/topic/15034-timestamp-support-for-format-into-string-scan-variant-from-string-string-package/#entry90605
    1 point
  4. Nope, it works regardless of the gap size between elements-- array =[1,10,100,1000,10000,100000] with min =99 and max=10001 works just as well, returning [100,1000,10000] . But be sure to do bounds checking on min and max, so an empty array is returned if they are out of bounds.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.