嵌入式系统的三角函数 [英] Trigonometric functions on embedded system

查看:222
本文介绍了嵌入式系统的三角函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

COS 函数是缓慢的,需要大量的资源,在嵌入式系统上运行的。如何计算 COS 更资源节约型和更快捷的方式功能?

sin and cos functions are slow and need a lot of resources to run on embedded systems. How does one calculate sin and cos functions in a more resource-saving and faster way?

推荐答案

要计算泰勒或<一个HREF =htt​​p://en.wikipedia.org/wiki/Fourier%5Fseries>傅立叶系列总是要耗费时间。

To calculate a Taylor or Fourier series is always going to be time-consuming.

在嵌入式系统中,你应该想想查找表

In an embedded system, you should think about lookup tables.

有可能还对有关惠普在其早​​期的科学计算器怎么优化,计算'网有趣的信息。

There might also be interesting information on the 'Net about how Hewlett-Packard optimised such calculations in their early scientific calculators.

我记得当时看到这样的东西的

I recall seeing such stuff at the time

这篇关于嵌入式系统的三角函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆