How to create Trignometric function lookup table
古いコメントを表示
Hi
I need help to create a lookup table for twiddle factor generated by trignometric cosine and sine function ?
Thanks
12 件のコメント
David Hill
2021 年 4 月 15 日
Why?
t=linspace(0,2*pi,1000);
lookup=[t;cos(t)];
Life is Wonderful
2021 年 4 月 16 日
編集済み: Life is Wonderful
2021 年 4 月 19 日
Walter Roberson
2021 年 4 月 16 日
You do not seem to be using the Fixed Point Toolbox, but you seem to be wanting to implement fixed point operations ?
Life is Wonderful
2021 年 4 月 16 日
Walter Roberson
2021 年 4 月 16 日
Write it using the fixed point toolbox. One of the options for fixed point toolbox use is to override the fixed point definitions with double precision for testing purposes. And you can test in fixed point on the host CPU anyhow.
Life is Wonderful
2021 年 4 月 16 日
Life is Wonderful
2021 年 4 月 16 日
編集済み: Life is Wonderful
2021 年 4 月 16 日
Walter Roberson
2021 年 4 月 19 日
I do not know about twiddle calculation for cordic, so I would have to research it.
Life is Wonderful
2021 年 4 月 19 日
Walter Roberson
2021 年 4 月 19 日
You asked for references about twiddle factor computation; I linked to a reference about twiddle factor computation.
If you had asked for a MATLAB implementation then I probably would not have posted any links. I do not have source code for that purpose, and I do not have time to research the topic and write the code.
Life is Wonderful
2021 年 4 月 20 日
編集済み: Life is Wonderful
2021 年 4 月 20 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!