w cdc1a40219 use ceres 1 mēnesi atpakaļ
..
include cdc1a40219 use ceres 1 mēnesi atpakaļ
CMakeLists.txt cdc1a40219 use ceres 1 mēnesi atpakaļ
README cdc1a40219 use ceres 1 mēnesi atpakaļ
f(1)_data.csv cdc1a40219 use ceres 1 mēnesi atpakaļ
f_data.csv cdc1a40219 use ceres 1 mēnesi atpakaļ
main.cpp cdc1a40219 use ceres 1 mēnesi atpakaļ

README

此程序所实现功能是:使用ceres库根据噪声点进行曲线拟合,实现图形化并显示误差百分比
使用方式:1.确保理想点坐标文件(.csv),以及噪声点坐标文件(.csv)在运行目录下
2.file1读取的为噪声点坐标,file2读取的为理想点坐标
3.运行代码:mkdir build
cd build
cmake ..
make
./sine_fit
注意:此程序是实现正弦函数拟合,若需修改拟合函数,需修改ceres库的残差结构体函数,拟合函数的参数个数可修改