Hi all,
I am filtering out some noise from my signals using PolyFit interpolation which normally works well. However, in some case the calculated interpolant must pass on a stated point: how can I force the interpolation process to pass by it?
Example: when determining the characteristics of a motor you must progressively brake it until it stops while you are acquiring, among other measures, the speed. In some case, it may happen that the obtained interpolant goes below zero, which is obviously not coherent with the phenomenon. So my problem is: how to obtain a clean interpolant which never goes below zero speed? Breaking down the curve by clipping it in the range 5000 ÷ 0 is not a good method since the result is a strange curve which again does not respects the actual phenomenon.
Thank you in advance for the suggestions.