本文介绍了嵌入式系统的三角函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
罪
和 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?
推荐答案
要计算或傅立叶系列总是要耗费时间。
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
这篇关于嵌入式系统的三角函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!