Forum Discussion
Altera_Forum
Honored Contributor
13 years agothe quarter sine LUT code
Dear all I need to get the quarter sine LUT in DDFS (Herewith the MATLAB code that I used) i=[0:i-1]; x= (i-1)*sin ((pi/2)*i/31));
Altera_Forum
Honored Contributor
13 years agoThe Quarter sine wave LUT code for 8 bits:
i=[0:255]; x= 255*sin ((pi/2) *i /255); y=str(x,8) ; but when i used it in DDS simulation , I got no sine wave((note: i applied all the other requirment))