如何作曲线拟合的程序
<P>想问一个问题。在用数据采集卡采集温度数据时,想利用曲线拟合函数对采集的温度数据作线性化处理,可是曲线拟合函数要求输入数据点是大于2的,但是数据采集卡是一个一个点采集的。故程序运行不了,请问各位高手有何方法能对采集的温度数据点作线性化处理呢?谢谢</P> <P>那用时间做另一个点吗</P><P>不然一个点那来线性</P> <P>在坐标图上,通过每一点的时间对应采集的电压幅值标出一个点。</P><P>看图</P>
<P>故不可能把时间和幅度值看成两个点</P>
<img src="attachments/dvbbs/2005-9/200592020283144.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2005-9/200592020283144.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
那就用时间和温度T=A*t+C拟和就可以了啊
页:
[1]