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

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

问题描述

sin cos 功能很慢,需要大量资源才能在嵌入式系统上运行。如何以更资源节省和更快速的方式计算 sin cos 函数?

解决方案

要计算 Taylor < a>或傅立叶系列总是很耗时。



在嵌入式系统中,您应该考虑查找表



Net关于Hewlett-Packard如何在早期的科学计算器中优化这样的计算可能还有一些有趣的信息。



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

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

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

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