Ivan-Bao / WB-Dynamics

Whistler Blackcomb Matlab simulation
2 stars 2 forks source link

Improve Algorithm That Finds Landing Time #11

Closed william-swy closed 3 years ago

william-swy commented 3 years ago

Currently the algorithm linearly searches from end of burn time to end of sim time for the index that closest matches when landing occurred.

It would be really nice if a better algorithm, in terms of runtime (something that does not search though each index), if possible could be implemented.

william-swy commented 3 years ago

Added function to perform Newton-Raphson on the cubic spline of the outputted data values.