worked on the function called improveMarkerAccuracy:
uses slopes before and after markers to zero in on proper timing
ISSUE: the data is very noisy. I'd like to do the fitting on the raw data. This does work, but every fit brings up an error. I've been using polyfit, and I get the following:
Warning: Polynomial is badly conditioned. Add points with distinct X
values, reduce the degree of the polynomial, or try centering and
scaling as described in HELP POLYFIT.
worked on the function called improveMarkerAccuracy: uses slopes before and after markers to zero in on proper timing ISSUE: the data is very noisy. I'd like to do the fitting on the raw data. This does work, but every fit brings up an error. I've been using polyfit, and I get the following: Warning: Polynomial is badly conditioned. Add points with distinct X values, reduce the degree of the polynomial, or try centering and scaling as described in HELP POLYFIT.