具有固定点的CORDIC arctan函数(我使用Q15格式) [英] CORDIC arctan function with fixed point (i`m using Q15 format)

查看:150
本文介绍了具有固定点的CORDIC arctan函数(我使用Q15格式)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做的论文将CORDIC与多项式进行比较,计算arctan与定点。我现在正在使用Q15格式。我使用此网站 CORDIC arctan 作为浮点制作时的参考。当我尝试用固定点制作它时,问题出现了很多错误。


这是我的程序

i`m doing my thesis comparing CORDIC with polynomial in counting arctan with fixed point. I`m using Q15 format now. I`m using this site CORDIC arctan as a referenced when making with floating point. The problem there`s a lot of error when i try to make it with fixed point.

this is my program

展开 | 选择 | Wrap | 行号

推荐答案

astri-


我不确定我是否可以帮助解决你的程序逻辑(这有点过头了!),但它是'如果你能发布错误消息,我或其他浏览的人很可能会帮助你处理你收到的错误消息。


sicarie
astri-

I''m not sure if I can help with the logic of your program (that''s a little over my head!), but it''s more than likely that I or someone else browsing through would be able to help you with the error messages that you are getting, if you could post those.

sicarie


您能举例说明您的输入和输出。你得到了什么样的错误?
Can you give us an example of your input and output. What kind of error are you getting?


我只是为我的程序中的错误消息(忽略警告)加粗字体

i`m bolding the font ONLY for error messages(ignore the warning) in my program

展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号


这篇关于具有固定点的CORDIC arctan函数(我使用Q15格式)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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