Sine and Cosine HDL Optimised Block
Ältere Kommentare anzeigen
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!
Antworten (1)
Kiran Kintali
am 23 Sep. 2025
0 Stimmen
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(i2πu)
- sin(2πu) and cos(2πu)
Kategorien
Mehr zu Speed Optimization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!