Sine and Cosine HDL Optimised Block

조회 수: 21 (최근 30일)
Bikki
Bikki 2025년 9월 23일
답변: Kiran Kintali 2025년 9월 23일
Is there an example of how to use the Sine and Cose HDL Optimised block to generate sine wave. I want to generate HDL using this block.
Thank you!

답변 (1개)

Kiran Kintali
Kiran Kintali 2025년 9월 23일
Please find attached a basic model using the block.
The Sine HDL Optimized block and Cosine HDL Optimized block implements a fixed-point sine or cosine wave by using a lookup table method that exploits quarter-wave symmetry.
Depending on your selection of the Output formula parameter, the blocks can output these functions of the input signal:
  • sin(2πu)
  • cos(2πu)
  • exp(iu)
  • sin(2πu) and cos(2πu)

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by