关于参考文献方面论文范文文献,与基于单片机的分段线性插值算法实现相关硕士毕业论文范文

时间:2020-07-05 作者:admin
后台-系统-系统设置-扩展变量-(内容页告位1-手机版)

本文是一篇参考文献论文范文,关于参考文献方面自考毕业论文开题报告,关于基于单片机的分段线性插值算法实现相关硕士毕业论文范文。适合参考文献及计算机工程及工程技术方面的的大学硕士和本科毕业论文以及参考文献相关开题报告范文和职称论文写作参考文献资料下载。

摘 要 :分段线性插值算法是一种技术比较成熟、实现比较简单的低次多项式插值算法,其曲线逼近程度即插值函数与原函数误差基本满足一般的工业控制场合需要.该算法占用系统资源少,在数据采集和数据处理等工业控制领域,往往使用单片机或嵌入式系统等资源受限处理器,通过分段线性插值算法简化原函数,减少计算量,对于提高系统整体性能具有显著的现实意义.


为什么要写参考文献毕业论文
播放:35980次 评论:6659人

关 键 词 :分段线性插值;曲线逼近;函数;工业控制;单片机

中图分类号:TP301文献标识码:A文章编号:1009-3044(2012)21-5236-02

The Implementation of Piecewise Linear Interpolation Algorithm Based on MCS

LIANG Xiao-lei

(UNIT 69046, Urumqi 830001,China)

Abstract: Piecewise linear interpolation algorithm is a relatively mature technology and a relatively simple low-order polynomial interpola tion algorithm, the curve approximation degree of the interpolation function and the original function basically meet general industrial con trol applications need. The algorithm occupies less system resources in industrial control field such as data acquisition and data processing, es pecially in the system based on a microcontroller or embedded system and so on. Using piecewise linear interpolation algorithm to simplify the original function and to reduce the putation, it has significant practical significance for improving the overall performance of the sys tem.

Key words: piecewise linear interpolation,curve approximation, function, industrial control,MCS

程序主要部分包括两部分:单区间线性计算和全程线性插值计算.部分代码如下所示.单区间线性计算:

Char liner_seg_x8_y8(char xn,char x1,char x2,char y1,char y2)

{int yn,

Char tmp,

If(xn

{yn等于y1}

Else if(xn>x2)

{yn等于y2}

Else

{ If(y1

{yn等于y2-y1,tmp等于xn-x1,yn等于yn*tmp,tmp等于x2-x1,yn等于yn+(tmp/2),yn等于yn/tmp,yn等于y1+yn,}

//实现yn等于y1+(y2-y1)*(xn-x1)/(x2-x1),

Else

{yn等于y1-y2,tmp等于xn-x1,yn等于yn*tmp,tmp等于x2-x1,yn等于yn+tmp/2,yn等于yn/tmp,yn等于y1-yn,}

//实现yn等于y1-(y1-y2)*(xn-x1)/(x2-x1),}

return((char)yn),}

全程线性插值计算:

Char line_all_x8_y8(char

后台-系统-系统设置-扩展变量-(内容页告位2-手机版)
声明:本文内容由互联网用户自发贡献自行上传,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任。如果您发现有涉嫌版权的内容,欢迎发送邮件至:123456789@qq.com 进行举报,并提供相关证据,工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。
后台-系统-系统设置-扩展变量-(内容页告位3-手机版)