文件名称:bestfitted-line
介绍说明--下载内容来自于网络,使用问题请自行百度
根据所给的点的坐标算出最拟合曲线的公式,并根据原来的x值算出新的y值。并将数据储存到一个data文件-A C++ programme finds the best-fitted straight line to the x and y values, and then writes
the original x, y values and the new y values on the line (for each x) to a data file.
X: 1.0000 2.0000 3.0000 4.0000 5.0000 6.0000 7.0000 8.0000 9.0000 10.0000 11.0000
12.0000 13.0000 14.0000 15.0000 16.0000 17.0000 18.0000 19.0000 20.0000
Y: 13.3068 15.0928 16.2509 18.6416 23.6987 27.6380 26.1267 28.4638 33.9061 35.6735
36.0599 39.9298 40.6010 40.0202 43.9743 43.4650 45.7730 50.0811 51.1671 52.4696
Hints for
the original x, y values and the new y values on the line (for each x) to a data file.
X: 1.0000 2.0000 3.0000 4.0000 5.0000 6.0000 7.0000 8.0000 9.0000 10.0000 11.0000
12.0000 13.0000 14.0000 15.0000 16.0000 17.0000 18.0000 19.0000 20.0000
Y: 13.3068 15.0928 16.2509 18.6416 23.6987 27.6380 26.1267 28.4638 33.9061 35.6735
36.0599 39.9298 40.6010 40.0202 43.9743 43.4650 45.7730 50.0811 51.1671 52.4696
Hints for
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bestfitted line.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.