当前位置:
首页 资源下载
搜索资源 - slope intercept straight line
搜索资源列表
-
0下载:
核辐射中仪器标定时用到的最小二乘拟合法,coords.txt是实验得出的数据!该方法可求出拟合直线的斜率和截距。-Nuclear radiation instrumentation calibration when used least-squares fitting, coords.txt are derived from experimental data! This method can be obtained fitting a straight line of slope and in
-
-
0下载:
用VB 编的计算两条直线交点坐标的程序,只要输入两直线的斜率(k)和截距(b),就能打印出两条直线,并计算出交点的坐标。-VB calculations made by the two straight-line intersection coordinates procedures, as long as the two enter the slope of a straight line (k) and intercept (b), will be able to print out two
-
-
0下载:
* FILE: least-squares.c
* This program computes a linear model for a set of given data.
*
* PROBLEM DEscr iptION:
* The method of least squares is a standard technique used to find
* the equation of a straight line from a set of data.
-
-
0下载:
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
分析:首先要注意的是,输入数组中可能有重复的点。由于两点确定一条直线,一个很直观的解法是计算每两个点形成的直线,然后把相同的直线合并,最后包含点最多的直线上点的个数就是本题的解。我们知道表示一条直线可以用斜率和y截距两个浮点数(垂直于x轴的直线斜率为无穷大,截距用x截距),同时还需要保存每
-