How to fit the 2D scatter data with a line with C++

前端 未结 7 1607
春和景丽
春和景丽 2020-12-16 23:19

I used to work with MATLAB, and for the question I raised I can use p = polyfit(x,y,1) to estimate the best fit line for the scatter data in a plate. I was wondering which r

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-16 23:51

    You can also use or go over this implementation there is also documentation here.

提交回复
热议问题