Curve and the X axis is tilted, now I hope to be able to make the whole curve flattening, the curve is roughly parallel to the X axis, want to accomplish probably effect is as follows:
What algorithm can achieve this effect? Thank you very much!
CodePudding user response:
Well, can make your own least squares fitting, then make a filter should not be any problem in theCode does not give, can do the least squares fitting enough basis, write their own filter is not difficult, just need to choose the filter type
"Baidu" filter algorithm - filter are much more, of course, you have chosen,
CodePudding user response:
Do you want high pass? Or is a coordinate rotation? All very simple ah, oneself write a not with respect to ok