This function performs a least-squares system identification of the polynomial basis for a first-order dynamic system .
This script finds the set of polynomial coefficients "c" that result in the least squared-error between the predicted system response y_bar and the series of measurements y_meas.
This work is an extension of
Jessica C. Selinger and J. Maxwell Donelan. "Estimating instantaneous energetic cost during non-steady-state gait." Journal of Applied Physiology 117.11 (2014): 1406-1415.
The formulation and application of this work is presented in a forthcoming manuscript.
This function is used in
“Body-in-the-Loop”: Optimizing Parameters using Measures of Instantaneous Energetic Cost
Submitted PLOS ONE, July 2015.
Wyatt Felt, Jessica C. Selinger, J. Maxwell Donelan, C. David Remy.
"BODY-IN-THE-LOOP OPTIMIZATION FOR THE SELECTION OF PROSTHETIC CONTROL
PARAMETERS – A PILOT STUDY"
Wyatt Felt, Emily S. Gardinier, Jeffrey Wensman, Deanna H. Gates, C. David Remy.
2015 Annual Meeting of the American Society of Biomechanics.
Corrects for measurements that are not column vectors